O ondesic Active Member Licensed User Longtime User Sep 9, 2011 #1 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?
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?
K Kamac Active Member Licensed User Longtime User Sep 9, 2011 #2 I don't think it is possible, i have had (and i have) the same problem, but that is probably in the android itself. Upvote 0
I don't think it is possible, i have had (and i have) the same problem, but that is probably in the android itself.
Kevin Well-Known Member Licensed User Longtime User Sep 9, 2011 #3 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
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.