Android Question How to use StateManager for B4XPages / CustomListView

I have a page with a CustomListView and a B4XImageView whose contents I want to preserve / restore when the device orientation changes. As I understand it StateManager is the routine to use. However, I'm not sure if it is possible for the custom controls or how to code it.

Any help welcome.
 
Oh I have my app working happily with a change of orientation but then I only have one main page.
Perhaps its a fluke and won't work for different devices.
 
Upvote 0
Top