Beispiel #1
0
 public static T OnTapNavigate <T>(this T view, Func <View> destination) where T : View
 => view.OnTap((v) => NavigationView.Navigate(view, destination.Invoke()));
Beispiel #2
0
 public static ListView <T> OnSelectedNavigate <T>(this ListView <T> view, Func <T, View> destination)
 {
     return(view.OnSelected(v => NavigationView.Navigate(view, destination?.Invoke(v))));
 }
Beispiel #3
0
 public static void Navigate(this View view, View destination) => NavigationView.Navigate(view, destination);