Skip to first unread message

sahil bayramov

unread,
Feb 13, 2017, 3:19:28 AM2/13/17
to MIT App Inventor Forum
Hello. Please help me. I use listwiver and I want to use jpg in listwiver. Listwiver element is (jpg+txt) forexample listwiver element-
( aple.jpg aple) .please help me.

Hossein Amerkashi

unread,
Feb 13, 2017, 7:25:39 AM2/13/17
to MIT App Inventor Forum
@Sahil,

Not possible in AI unless you use html / javascripting.
Is your list static and short?

Taifun

unread,
Feb 13, 2017, 7:30:05 AM2/13/17
to MIT App Inventor Forum

sahil bayramov

unread,
Feb 14, 2017, 2:39:14 AM2/14/17
to MIT App Inventor Forum
I do it bu it dos not possible.

Taifun

unread,
Feb 14, 2017, 8:48:34 AM2/14/17
to MIT App Inventor Forum
what are you talking about?
as you can see here https://puravidaapps.com/listview.php, it's possible
Taifun

SteveJG

unread,
Feb 14, 2017, 9:13:42 AM2/14/17
to mitappinv...@googlegroups.com
You can not add  an image and text into AI's ListView.  This is impossible.  

What Taifun recommends is use his code to make a JQuery listview (not a standard AI component).  His solution is nice, however he charges a fee to allow you to use the code he developed. You could use his example and pay him,  write your own solution using a javascript, or use a Professional compiler instead of AI like Android Studio.     JQuery is described here: https://jquerymobile.com/   it is a tool that would permit you to create an appropriate javascript to use with App Inventor to design your  listview, but you have to have the programming skills to do it.  Here is a the basic code Taifun uses as shown in an example on the JQuery site   http://demos.jquerymobile.com/1.4.5/listview/ 

I have seen examples where a forum member   places a Vertical Layout next to a ListView where the Vertical layout contains several stacked Image components.  The idea is to show the jpg opposite the ListView text.  This is clumsy but does allow an image opposite corresponding text.

Regards,
Steve
Reply all
Reply to author
Forward
0 new messages