private void List_RenderPost(object sender, EventArgs e) { list.RenderPost -= List_RenderPost; _enteringSpeed = (EcoreAnimator.GetCurrentTime() - _enteringSpeed) * 1000; _frameSet = Elementary.BringInScrollFriction; Elementary.BringInScrollFriction = TimeSet; list.ScrollTo(ItemTarget, ScrollToPosition.In, true); }
private void List_Changed(object sender, EventArgs e) { _enteringSpeed = EcoreAnimator.GetCurrentTime(); list.Changed -= List_Changed; list.RenderPost += List_RenderPost; }