Carouselview resets after app opened from background.

Abraham John 111 Reputation points

I've a
in main page and when ever the app is reopened from app background, the position of
always change to first carousel page position.

Why this happening?

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,818 questions
{count} votes

Accepted answer
  1. JessieZhang-MSFT 7,516 Reputation points


    Welcome to Microsoft Q&A!

    Hello, Welcome to Microsoft Q&A!

    I couldn't see the detail of your code ,but as a test, after I tested the official sample Xamarin.Forms - CarouselView, it works properly.

    When I scrolled to an item and pressed the home button on our mobile , and then come back, it still display the last item we scrolled to. You can check page VerticalTemplateLayoutPage.xaml and the MonkeysViewModel.

    For more about this, you can check: .

    Best Regards,

    Jessie Zhang

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful