Example #1
0
 public bool RestoreView()
 {
     return(JniUtils.RunOnUiThreadSafe(() =>
     {
         _getUiSocialJavaClass.CallStatic("restoreView");
     }));
 }
Example #2
0
 public bool LoadConfiguration(string path)
 {
     return(JniUtils.RunOnUiThreadSafe(() =>
     {
         _getUiSocialJavaClass.CallStaticBool("loadConfiguration", JniUtils.Activity, path);
     }));
 }
Example #3
0
 public bool CloseView(bool saveViewState)
 {
     return(JniUtils.RunOnUiThreadSafe(() =>
     {
         _getUiSocialJavaClass.CallStatic("closeView", saveViewState);
     }));
 }
Example #4
0
 public bool LoadDefaultConfiguration()
 {
     return(JniUtils.RunOnUiThreadSafe(() =>
     {
         _getUiSocialJavaClass.CallStaticBool("loadDefaultConfiguration", JniUtils.Activity);
     }));
 }
Example #5
0
        protected bool ShowBuilder(AndroidJavaObject builder)
        {
            SetUiActionListenerAJO(builder);
            SetTitleAJO(builder);
            SetViewStateListener(builder);
            // Make sure ui is instantiated at this point for ensuring OnResume was called before opening the view
            GetSocialUiFactory.InstantiateGetSocialUi();

            return(JniUtils.RunOnUiThreadSafe(() =>
            {
                using (builder)
                {
                    builder.CallBool("show");
                }
            }));
        }