protected CustomSwipeLayout(BaseScreen activity) : base(activity) { using (ViewConfiguration configuration = ViewConfiguration.Get(activity)) TouchSlop = configuration.ScaledTouchSlop; Scroller = new Scroller(activity); Behavour = new SwipeBehaviour(Scroll); SupportedGesture = GestureType.Any; Scrollable = true; }
public CustomSwipeLayout() { _behaviour = new SwipeBehaviour(Scroll); this.Scrollable = true; }