Beispiel #1
0
 public static void CallOnMainThread(this AndroidJavaProxy proxy, Action action)
 {
     if (!HMSDispatcher.InstanceExists)
     {
         HMSDispatcher.CreateDispatcher();
     }
     HMSDispatcher.InvokeAsync(action);
 }
 internal protected void CallOnMainThread(Action action) => HMSDispatcher.InvokeAsync(action);