scsjc Well-Known Member Licensed User Longtime User Nov 20, 2018 #1 Is it possible to put some index (with letters) on right screen, in a CustomListView class/library ??? thanks
Is it possible to put some index (with letters) on right screen, in a CustomListView class/library ??? thanks
Star-Dust Expert Licensed User Longtime User Nov 20, 2018 #2 See the AlfabetListView and SeparatorListView classes in this library: https://www.b4x.com/android/forum/threads/sd-viewextra.87236/#post-552093 Upvote 0
See the AlfabetListView and SeparatorListView classes in this library: https://www.b4x.com/android/forum/threads/sd-viewextra.87236/#post-552093
scsjc Well-Known Member Licensed User Longtime User Nov 20, 2018 #3 Star-Dust said: See the AlfabetListView and SeparatorListView classes in this library: https://www.b4x.com/android/forum/threads/sd-viewextra.87236/#post-552093 Click to expand... I know this library, but I want do using a customlistview Thanks for reply Upvote 0
Star-Dust said: See the AlfabetListView and SeparatorListView classes in this library: https://www.b4x.com/android/forum/threads/sd-viewextra.87236/#post-552093 Click to expand... I know this library, but I want do using a customlistview Thanks for reply
Star-Dust Expert Licensed User Longtime User Nov 20, 2018 #4 scsjc said: I know this library, but I want do using a customlistview Thanks for reply Click to expand... Ok. Upvote 0
scsjc said: I know this library, but I want do using a customlistview Thanks for reply Click to expand... Ok.
mangojack Expert Licensed User Longtime User Nov 20, 2018 #5 Only have 10 minutes before work so cant supply code. (I'm not Erel ) Not that hard to do ... Your data is sorted. you have a global string variable. (lastChar) Loop through you data .. Get the first Character of Next Item... if it does not = lastChar then update variable and load a panel containing label with just this Char (and color panel / label to your liking) Then load the Item .. and so on and so on. Else just load the data as normal. Upvote 0
Only have 10 minutes before work so cant supply code. (I'm not Erel ) Not that hard to do ... Your data is sorted. you have a global string variable. (lastChar) Loop through you data .. Get the first Character of Next Item... if it does not = lastChar then update variable and load a panel containing label with just this Char (and color panel / label to your liking) Then load the Item .. and so on and so on. Else just load the data as normal.
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2018 #6 Check this custom view: https://www.b4x.com/android/forum/threads/indexedtable.60300/ I don't remember the exact implementation but it should probably won't be too complicated to use it with xCLV. Upvote 0
Check this custom view: https://www.b4x.com/android/forum/threads/indexedtable.60300/ I don't remember the exact implementation but it should probably won't be too complicated to use it with xCLV.