Informatix Expert Licensed User Longtime User May 21, 2019 #1 Hello, In my program, setting MultipleSelection to True or False for a ListView does not change anything. In all cases, I can select as many items as I want and GetSelectedIndices contains them all.
Hello, In my program, setting MultipleSelection to True or False for a ListView does not change anything. In all cases, I can select as many items as I want and GetSelectedIndices contains them all.
LucaMs Expert Licensed User Longtime User May 21, 2019 #2 Try this one: https://www.b4x.com/android/forum/threads/lib-chargeable-ultimatelistview.22736/
Informatix Expert Licensed User Longtime User May 21, 2019 #3 LucaMs said: Try this one: https://www.b4x.com/android/forum/threads/lib-chargeable-ultimatelistview.22736/ Click to expand... I can't. The guy who made this library never had the courage to make a version for B4J.
LucaMs said: Try this one: https://www.b4x.com/android/forum/threads/lib-chargeable-ultimatelistview.22736/ Click to expand... I can't. The guy who made this library never had the courage to make a version for B4J.
Erel B4X founder Staff member Licensed User Longtime User May 22, 2019 #5 It is indeed a bug in MultipleSelection property. Note that the designer property will work. Will be fixed. Workaround: B4X: Dim jo As JavaObject = ListView1 jo.RunMethodJO("getSelectionModel", Null).RunMethod("setSelectionMode", Array("SINGLE"))
It is indeed a bug in MultipleSelection property. Note that the designer property will work. Will be fixed. Workaround: B4X: Dim jo As JavaObject = ListView1 jo.RunMethodJO("getSelectionModel", Null).RunMethod("setSelectionMode", Array("SINGLE"))
LucaMs Expert Licensed User Longtime User May 22, 2019 #6 Informatix said: I can't. The guy who made this library never had the courage to make a version for B4J. Click to expand... Anyway, the best option is to use xCustomListView.
Informatix said: I can't. The guy who made this library never had the courage to make a version for B4J. Click to expand... Anyway, the best option is to use xCustomListView.
Erel B4X founder Staff member Licensed User Longtime User May 22, 2019 #7 I tend to agree. Though xCustomListView doesn't support multiselection out of the box. It can be added in your code quite simply.
I tend to agree. Though xCustomListView doesn't support multiselection out of the box. It can be added in your code quite simply.
LucaMs Expert Licensed User Longtime User May 22, 2019 #8 Erel said: It can be added in your code quite simply. Click to expand... ... and almost certainly equally easily in the xCLV itself
Erel said: It can be added in your code quite simply. Click to expand... ... and almost certainly equally easily in the xCLV itself
LucaMs Expert Licensed User Longtime User May 23, 2019 #9 Informatix said: I can't. The guy who made this library never had the courage to make a version for B4J. Click to expand... https://www.b4x.com/android/forum/threads/b4x-my-xcustomlistview-1-73.106070/
Informatix said: I can't. The guy who made this library never had the courage to make a version for B4J. Click to expand... https://www.b4x.com/android/forum/threads/b4x-my-xcustomlistview-1-73.106070/