public bool RestoreView() { return(JniUtils.RunOnUiThreadSafe(() => { _getUiSocialJavaClass.CallStatic("restoreView"); })); }
public bool LoadConfiguration(string path) { return(JniUtils.RunOnUiThreadSafe(() => { _getUiSocialJavaClass.CallStaticBool("loadConfiguration", JniUtils.Activity, path); })); }
public bool CloseView(bool saveViewState) { return(JniUtils.RunOnUiThreadSafe(() => { _getUiSocialJavaClass.CallStatic("closeView", saveViewState); })); }
public bool LoadDefaultConfiguration() { return(JniUtils.RunOnUiThreadSafe(() => { _getUiSocialJavaClass.CallStaticBool("loadDefaultConfiguration", JniUtils.Activity); })); }
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"); } })); }