listview/file help

dibb3386

Member
Licensed User
Longtime User
Hi, am getting myself confused so posting on here to see if someone can help me out.

(basically like a dvd/cd collection app)

Ive got the alphabet in a listview, which when pressed opens listview2. The items in listview2 show fine however now i need to have each one of them items in listview2 open a panel or a message box to display some information. However there is over 300 items altogether, thats alot of panel/message boxes.

Any short cuts or way i can use one txt file to call all the information to each item in listview2?

I was thinking about a database sql or csv, but am not sure how i would use that with a listview.

Any help or suggestions would be greatly appreciated
 

eps

Expert
Licensed User
Longtime User
The ListView can have a tag behind it, which then references either a file or a database table/record. This is what I do in my Apps. You then supply the 'id' or tag to the function that reads the data and displays it.. So one function to display them all..

:)

ETA : I guess you've look here : http://www.b4x.com/forum/basic4android-getting-started-tutorials/6537-listview-tutorial.html

ETA : and maybe some of these... http://www.b4x.com/forum/basic4andr...torials/20970-how-they-do-2-a.html#post121053
 
Last edited:
Upvote 0
Top