4,170 questions
preserve the view state when switching tabs. To do this, override the OnDisappearing and OnAppearing methods in the parent page of the CollectionView:
check
protected override void OnDisappearing()
{
base.OnDisappearing();
// Save the view state (e.g., the CollectionView's content)
}
protected override void OnAppearing()
{
base.OnAppearing();
// Restore the view state (e.g., load the CollectionView's content)
}