Ejemplo n.º 1
0
 internal async Task LogOutAsync()
 {
     if (!IsSignedIn)
     {
         return;
     }
     IsLoading = true;
     try
     {
         await AppGlobal.SignOutAsync();
     }
     catch
     {
     }
     UserName   = null;
     Password   = null;
     IsSignedIn = false;
     //FavoriteSection.Clear(); //Erase the user favorite data
     //FavoriteSection.IsLoaded = false;
     //FavoriteSection.NotifyPropertyChanged("IsEmpty");
     IsLoading = false;
 }