public async Task Load() { if (IsInternet()) { if (isLoggedin == true) { var user = await UserUtility.GetCurrentUserInfo(); await LoadUser(user); } } }
public async Task Load() { GlobalHelper.GithubClient = await UserUtility.GetAuthenticatedClient(); if (IsInternet()) { if (isLoggedin) { var user = await UserUtility.GetCurrentUserInfo(); await LoadUser(user); } } }
public async Task Load(string userId) { GlobalHelper.GithubClient = UserUtility.GetAuthenticatedClient(AuthService.GetToken(userId)); if (IsInternet()) { if (isLoggedin) { var user = await UserUtility.GetCurrentUserInfo(); LoadUser(user); } } }