Hello,
Welcome to Microsoft Q&A!
You can call the method in SizeChanged
event .
bool isFirstLoading = true;
public YourPage()
{
InitializeComponent();
BindingContext = new MonkeysViewModel();
this.SizeChanged += (sender,e)=> {
if (isFirstLoading)
{
collectionView.ScrollTo(index: 10);
isFirstLoading = false;
}
};
}
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.