Hi! Trying to get following thing running - pages object and inside "sub-pages", so another instance of pages basically. Use case: navigating in app at two different levels - main menu (page) with various options (subpages) then an app starts (page) and there are a few views (subpages). So the idea is each page should have a defined background (animated) that should not change when switching to another sub-page. It should change when a page is changed.
Navigating is controlled with buttons, calling "go" method, there is no swiping.
The problem I am getting is as follows - when a transition of my sub-page starts, its content vanishes right away - so image, labels, buttons etc go away immediately without being visually affected by the transition.
Should it work? I was not able to locate any example of similar design...
Just racing out the door... have not tried this... a few things to think about are setting the holder to your outer page and setting a mask for the inner pages. We did do pages swiping horizontally and vertically - but that might not be what you want ZIM Pages - that was from a long time ago...
Sorry to race - will try an example tomorrow.
1 Like
We did get a simple example working. Swipe the outer pages (or could provide different arrows) and use arrows for the inner pages - these are added to outer page1 and page3 just to make sure.
2 Likes
I have finally had a longer while to check my code for bugs once again. The strange behaviour was caused by my wrong assignment of pages inside containers. Thank you a lot for providing the answer, I had some difficulty to locate the bug and knowing that the design was not by definition a bad idea helped a lot
1 Like