Ejemplo n.º 1
0
 void DismissKeyboardOnTouchPropertyChanged(InfiniteListView bindable, bool oldValue, bool newValue)
 {
     if (newValue != default(bool))
     {
         GestureRecognizers.Add(_gestureDismiss);
     }
     else
     {
         GestureRecognizers.Remove(_gestureDismiss);
     }
 }
Ejemplo n.º 2
0
 void LoadMoreCommandPropertyChanged(InfiniteListView bindable, ICommand oldValue, ICommand newValue)
 {
     if (newValue != default(ICommand))
     {
         ItemAppearing += InfiniteListView_ItemAppearing;
     }
     else
     {
         ItemAppearing -= InfiniteListView_ItemAppearing;
     }
 }