protected override void OnScrollChanged(int x, int y, int oldx, int oldy) { ISwipeRefreshable swipeRefreshable = (ISwipeRefreshable)Context; if (swipeRefreshable == null) { return; } swipeRefreshable.ScrollYChanged(new ScrollInformation { Sender = this, Y = y }); }
public override void OnAttach(Activity activity) { base.OnAttach(activity); this._swipeRefreshable = activity as ISwipeRefreshable; }