void Scroll(int target) { var snapShot = new SnapShot(__counter); _listView.ScrollTo(_itemsList[target], ScrollToPosition.MakeVisible, animated: true); snapShot.Update(); // TEST if (!_listView.IsGroupingEnabled && _listView.CachingStrategy == ListViewCachingStrategy.RecycleElementAndDataTemplate) { if (snapShot.Attached > MaxAttachDelta) { throw new Exception($"Attached Delta: {snapShot.Attached}"); } if (snapShot.Views > MaxViewDelta) { throw new Exception($"Views Delta: {snapShot.Views}"); } if (snapShot.Asks > MaxAskDelta) { throw new Exception($"Asks Delta: {snapShot.Asks}"); } } }