Android Question About StateManager

vfafou

Well-Known Member
Licensed User
Longtime User
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
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

vfafou

Well-Known Member
Licensed User
Longtime User
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.
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

vfafou

Well-Known Member
Licensed User
Longtime User
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

vfafou

Well-Known Member
Licensed User
Longtime User
OK!
Thank you very much!
The real question is "Does StateManager is capable to store CustomListView panels or my effort is meaningless?"
 
Upvote 0
Top