G-ShadoW Active Member Licensed User Longtime User Feb 25, 2022 #1 Hello, how to save Items (not Value) from customlistview ? B4X: Dim xclvSaveList As List xclvSaveList.Initialize For i = 0 To xCLVINJ.As(CustomListView).Size -1 'Items... 'xclvSaveList.Add(xCLVINJ.As(CustomListView).GetValue(i)) Next
Hello, how to save Items (not Value) from customlistview ? B4X: Dim xclvSaveList As List xclvSaveList.Initialize For i = 0 To xCLVINJ.As(CustomListView).Size -1 'Items... 'xclvSaveList.Add(xCLVINJ.As(CustomListView).GetValue(i)) Next
G-ShadoW Active Member Licensed User Longtime User Feb 25, 2022 #2 B4X: xclvSaveList.Add(xCLVINJ.as(CustomListView).GetPanel(i).GetView(0)) B4X: 'result' Label@3c9b6563[styleClass=label]'Some Item text...' Upvote 0
B4X: xclvSaveList.Add(xCLVINJ.as(CustomListView).GetPanel(i).GetView(0)) B4X: 'result' Label@3c9b6563[styleClass=label]'Some Item text...'
DonManfred Expert Licensed User Longtime User Feb 25, 2022 #3 You can not save/serialize UI-Elements. Save the info you need to recreate a xCLV and build the xCLV based on the saved data, Upvote 0
You can not save/serialize UI-Elements. Save the info you need to recreate a xCLV and build the xCLV based on the saved data,