C# 正在.Net解析LogInAsync中等待当前用户
这是我第一次使用parse编写程序,但我无法让parse登录。在下面的代码中,当前用户始终设置为null。我需要能够登录并继续应用程序中的下一个活动C# 正在.Net解析LogInAsync中等待当前用户,c#,android,.net,xamarin,C#,Android,.net,Xamarin,这是我第一次使用parse编写程序,但我无法让parse登录。在下面的代码中,当前用户始终设置为null。我需要能够登录并继续应用程序中的下一个活动 public static async void correctCredentials(string username, string password){ try{ await ParseUser.LogInAsync (username, password); i
public static async void correctCredentials(string username, string password){
try{
await ParseUser.LogInAsync (username, password);
if(ParseUser.CurrentUser != null)
parseloggedIN = true;
} catch{
//Nothing here
}