vfafou Well-Known Member Licensed User Longtime User Jul 15, 2017 #1 Hello! I have a layout with TabStrip holding some layouts. One layout has 2 CustomListView lists that I need to store and retrieve on startup. Does StateManager do that for CustomListView Library? If not, how could I change the code so I can store the panels of CustomListView? Thank you in advance.
Hello! I have a layout with TabStrip holding some layouts. One layout has 2 CustomListView lists that I need to store and retrieve on startup. Does StateManager do that for CustomListView Library? If not, how could I change the code so I can store the panels of CustomListView? Thank you in advance.
Peter Simpson Expert Licensed User Longtime User Jul 16, 2017 #2 Yes it does, but you can also use RandomAccessFile to do things yourself manually if that is what you want to do. StateManager is the most logical solution if I understand your question correctly. Upvote 0
Yes it does, but you can also use RandomAccessFile to do things yourself manually if that is what you want to do. StateManager is the most logical solution if I understand your question correctly.
vfafou Well-Known Member Licensed User Longtime User Jul 16, 2017 #3 Peter Simpson said: Yes it does, but you can also use RandomAccessFile to do things yourself manually if that is what you want to do. StateManager is the most logical solution if I understand your question correctly. Click to expand... Hello Peter! Thank you for your response. Yes, I want to keep the CustomListView state, in order to retrieve the contents on Activity_Resume. I've tried to do it but there are some errors. I think there are some tricks needed to achieve this functionality. Upvote 0
Peter Simpson said: Yes it does, but you can also use RandomAccessFile to do things yourself manually if that is what you want to do. StateManager is the most logical solution if I understand your question correctly. Click to expand... Hello Peter! Thank you for your response. Yes, I want to keep the CustomListView state, in order to retrieve the contents on Activity_Resume. I've tried to do it but there are some errors. I think there are some tricks needed to achieve this functionality.
Peter Simpson Expert Licensed User Longtime User Jul 16, 2017 #4 What are the errors, please either paste the post contents, your project code or a screen shot... Upvote 0
vfafou Well-Known Member Licensed User Longtime User Jul 16, 2017 #5 I was a little confused and I've deleted the code I wrote, in order to do it from scratch, so I don't have this code anymore. If you want, I'll try to write it again to show you the errors and the code. Upvote 0
I was a little confused and I've deleted the code I wrote, in order to do it from scratch, so I don't have this code anymore. If you want, I'll try to write it again to show you the errors and the code.
Peter Simpson Expert Licensed User Longtime User Jul 16, 2017 #6 State manager should work perfect for you, hopefully you will rewrite it and it will just work second time around... Upvote 0
State manager should work perfect for you, hopefully you will rewrite it and it will just work second time around...
vfafou Well-Known Member Licensed User Longtime User Jul 16, 2017 #7 OK! Thank you very much! The real question is "Does StateManager is capable to store CustomListView panels or my effort is meaningless?" Upvote 0
OK! Thank you very much! The real question is "Does StateManager is capable to store CustomListView panels or my effort is meaningless?"
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2017 #8 vfafou said: Does StateManager is capable to store CustomListView panels or my effort is meaningless? Click to expand... StateManager only stores user specific state. For example the text in text fields. It doesn't store the UI itself. Upvote 0
vfafou said: Does StateManager is capable to store CustomListView panels or my effort is meaningless? Click to expand... StateManager only stores user specific state. For example the text in text fields. It doesn't store the UI itself.