Example #1
0
 public static void MapContent(ISwipeItemViewHandler handler, ISwipeItemView page)
 {
     if (handler is SwipeItemViewHandler platformHandler)
     {
         platformHandler.UpdateContent();
     }
 }
Example #2
0
        public static void MapVisibility(ISwipeItemViewHandler handler, ISwipeItemView view)
        {
            var swipeView = handler.PlatformView?.Parent.GetParentOfType <MauiSwipeView>();

            if (swipeView != null)
            {
                swipeView.UpdateIsVisibleSwipeItem(view);
            }
        }
Example #3
0
        public static void MapVisibility(ISwipeItemViewHandler handler, ISwipeItemView view)
        {
            //TODO : need to update
            //var swipeView = handler.PlatformView.GetParentOfType<EvasObject>();
            //if (swipeView != null)
            //	swipeView.UpdateIsVisibleSwipeItem(view);

            //handler.PlatformView.UpdateVisibility(view.Visibility);
        }
 public static void MapVisibility(ISwipeItemViewHandler handler, ISwipeItemView view)
 {
 }
 public static void MapContent(ISwipeItemViewHandler handler, ISwipeItemView page)
 {
 }