Example #1
0
 protected override void OnAppearing()
 {
     base.OnAppearing();
     Device.BeginInvokeOnMainThread(async() =>
     {
         await System.Threading.Tasks.Task.Delay(150);
         FNameEntry.Focus();
     });
 }
Example #2
0
 protected override void OnAppearing()
 {
     base.OnAppearing();
     Device.BeginInvokeOnMainThread(async() =>
     {
         await Task.Delay(150);
         FNameEntry.Focus();
         if (uih.UInfoIDIsNullOrEmpty())
         {
             var uinfo               = uih.GetUserInfoByID(Settings.UserId);
             FNameEntry.Text         = uinfo.FirstName;
             LNameEntry.Text         = uinfo.LastName;
             EmailEntry.Text         = uinfo.Email;
             FlanPicker.SelectedItem = uinfo.FLanguage;
             SlanPicker.SelectedItem = uinfo.SLanguage;
         }
     });
 }