예제 #1
0
        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;
        }
예제 #2
0
        public CustomSwipeLayout()
        {
            _behaviour = new SwipeBehaviour(Scroll);

            this.Scrollable = true;
        }