Beispiel #1
0
        /// <summary>
        /// Configure the listener to allow a left reveal as part of a right group swipe
        /// </summary>
        protected void ListenForLeftReveal()
        {
            Listener.RightSwipeAllowed = true;
            Listener.RightGroupSwipe   = true;
            Listener.LeftRevealView    = RevealView;

            // Hook into the FlingRight event
            Listener.FlingRightHandler += (object sender, ListViewTouchListener.SwipeEventArgs args) =>
            {
                RevealActive?.Invoke(WrappedView, new EventArgs());
            };
        }
Beispiel #2
0
 /// <summary>
 /// Pass on a view change via the RevealActive event
 /// </summary>
 protected void OnViewRevealed()
 {
     RevealActive?.Invoke(this, new EventArgs());
 }