Hi guys,
I'm trying to figure out the best way to achieve the following:
On my home-screen, I have a carousel. On the LAST slide/frame of the carousel, I have a button that navigates to another page (page2). When someone clicks the "Back" button from that new page, it navigates back to my home-screen, but it automatically takes them back to the FIRST slide/frame. Is there anyway I can force them back to the LAST slide/frame upon returning from the second page, since that's where they navigated from?
I essentially want to accomplish the equivalent of:
pre
var carousel = Appery("mobilecarousel_438");
var newitem = Appery("mobilecarouselitem_445");
carousel.carouselRoot.carousel("slide", false, newitem );
//or equivalently:
//carousel.carouselRoot.carousel("to", index ); //where index corresponds to my last frame
/pre
after navigating back to my home-page, but without the user seeing the "sliding" transition. They should instantly be taken back to the appropriate frame.
Is this possible?
(Perhaps I can use the "to" method with a very small animation duration - like 50 milliseconds to simulate a fast transition)?
Thank you in advance!