jotajota52 Member Sep 13, 2021 #1 Hi ! I'm using the setSelector method on a list: B4X: jo.RunMethod("setSelector", Array(cdw)) This works fine when the selection is made by clicking on the list item but when I select the item programmatically like: B4X: lvNetList.SetSelection(i) The highlighting stays where it was the last time I cliked on the list. Is there a way to stop the setselector from showing on the list ? (without recreating the list)
Hi ! I'm using the setSelector method on a list: B4X: jo.RunMethod("setSelector", Array(cdw)) This works fine when the selection is made by clicking on the list item but when I select the item programmatically like: B4X: lvNetList.SetSelection(i) The highlighting stays where it was the last time I cliked on the list. Is there a way to stop the setselector from showing on the list ? (without recreating the list)
Erel B4X founder Staff member Licensed User Longtime User Sep 14, 2021 #2 I would have used xCLV + CLVSelections: https://www.b4x.com/android/forum/t...ion-modes-for-xcustomlistview.114364/#content Upvote 0
I would have used xCLV + CLVSelections: https://www.b4x.com/android/forum/t...ion-modes-for-xcustomlistview.114364/#content
jotajota52 Member Sep 14, 2021 #3 Erel said: I would have used xCLV + CLVSelections: https://www.b4x.com/android/forum/t...ion-modes-for-xcustomlistview.114364/#content Click to expand... Thank you Erel, I will do that! Upvote 0
Erel said: I would have used xCLV + CLVSelections: https://www.b4x.com/android/forum/t...ion-modes-for-xcustomlistview.114364/#content Click to expand... Thank you Erel, I will do that!