Exemplo n.º 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;
        }
Exemplo n.º 2
0
        public CustomSwipeLayout()
        {
            _behaviour = new SwipeBehaviour(Scroll);

            this.Scrollable = true;
        }