2019-12-12 01:22 PM
I'm trying to save the current selected page for a SwipeContainer in the tearDownScreen handler when a screen closes, so when that screen reopens the user is taken back to the same page they left it on.
However, I can't seem to find a way to access what the currently selected page is for the SwipeContainer. I see there is a method to set the selected page. I also see that the widget maintains the CurrentPage internally. But, I can't seem to get access to it from the view.
Solved! Go to Solution.
2020-01-09 12:07 AM
H Jim,
There's no method for getting the current page, it's something we'll add i think. Until then, you can just add the function yourself - The code is open. It should be pretty apparent what to return, i think.
/Martin
2020-01-09 12:07 AM
H Jim,
There's no method for getting the current page, it's something we'll add i think. Until then, you can just add the function yourself - The code is open. It should be pretty apparent what to return, i think.
/Martin
2020-01-10 09:59 PM
Martin,
Yes I was able to add the function myself and it's working well.
Thanks for your reply.
2020-01-13 02:05 AM
Great, Jim. Good job.