How to keep selected Item selected?

ondesic

Active Member
Licensed User
Longtime User
I am using a ListView. I want the item that i pick to stay lit (the background to stay yellow). How do I do this?
 

Kevin

Well-Known Member
Licensed User
Longtime User
As Kamac said, I don't think that's possible either (could be wrong.... I'm still a noob but learning), but.....

This may not be practical for very huge lists, but you could use the labels-in-a-scrollview sample in the link below instead of a listview. It would likely take a little modification and it wouldn't hold the name/value combo like a listview does but the values could be stored in a list though. At least the item chosen would stay highlighted which is what you are after.

http://www.b4x.com/forum/basic4android-getting-started-tutorials/7699-rearrange-listview-lines.html#post43751

Just a thought.
 
Upvote 0
Top