Beispiel #1
0
 protected void OnUserAvailable(AvailableEventArgs e)
 {
     if (UserAvailable != null)
     {
         UserAvailable(this, e);
     }
 }
Beispiel #2
0
 private void _UserAvailable(object sender, AvailableEventArgs e)
 {
     if (e.IsAvailable)
     {
         Device.BeginInvokeOnMainThread(() =>
         {
             _navigation.GoToChat(this, _ItemSelected);
         });
     }
     else
     {
         Device.BeginInvokeOnMainThread(() =>
         {
             DisplayUnavailable();
         });
     }
 }