AHilberink Well-Known Member Licensed User Longtime User Mar 14, 2022 #1 Hi, I am looking for a solution like Statemanager, but also capable to store a CustomListView. I tried to modify the Statemanager myselves, but the object CustomListView is not regonized. Is there already someone who got this worked? Kind regards, André
Hi, I am looking for a solution like Statemanager, but also capable to store a CustomListView. I tried to modify the Statemanager myselves, but the object CustomListView is not regonized. Is there already someone who got this worked? Kind regards, André
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Mar 14, 2022 #2 What is contained within the custom listview? Normally I have a map attached to each item in the list view which is effectively the data which is usedwithin that entry. You should be able to save this information and then recreate the CLV from that. StateManager and CustomListview [Probably I should have written this post in "Bugs & wishlist"] If I have not made any mistakes, it seems to me that StateManager can not rebuild (save & restore) CustomListviews (let alone xCustomListviews) and their contents. www.b4x.com the first line of the statemanager tutorials say: Edit: StateManager was written in 2011. I don't recommend using it for new projects. Use B4XPages + KVS2 instead. Click to expand... Upvote 1
What is contained within the custom listview? Normally I have a map attached to each item in the list view which is effectively the data which is usedwithin that entry. You should be able to save this information and then recreate the CLV from that. StateManager and CustomListview [Probably I should have written this post in "Bugs & wishlist"] If I have not made any mistakes, it seems to me that StateManager can not rebuild (save & restore) CustomListviews (let alone xCustomListviews) and their contents. www.b4x.com the first line of the statemanager tutorials say: Edit: StateManager was written in 2011. I don't recommend using it for new projects. Use B4XPages + KVS2 instead. Click to expand...
agraham Expert Licensed User Longtime User Mar 14, 2022 #3 Andrew (Digitwell) said: the first line of the statemanager tutorials say: Click to expand... Even that is now out of date. The correct library is the internal library KeyValueStore v2.31. KVS2 is now also deprecated. Upvote 1
Andrew (Digitwell) said: the first line of the statemanager tutorials say: Click to expand... Even that is now out of date. The correct library is the internal library KeyValueStore v2.31. KVS2 is now also deprecated.