Esempio n. 1
0
 public static void Apply(global::Android.Content.ISharedPreferencesEditor p0)
 {
     if (id_apply_Landroid_content_SharedPreferences_Editor_ == IntPtr.Zero)
     {
         id_apply_Landroid_content_SharedPreferences_Editor_ = JNIEnv.GetStaticMethodID(class_ref, "apply", "(Landroid/content/SharedPreferences$Editor;)V");
     }
     JNIEnv.CallStaticVoidMethod(class_ref, id_apply_Landroid_content_SharedPreferences_Editor_, new JValue(p0));
 }
Esempio n. 2
0
 public static unsafe void Apply(global::Android.Content.ISharedPreferencesEditor p0)
 {
     if (id_apply_Landroid_content_SharedPreferences_Editor_ == IntPtr.Zero)
     {
         id_apply_Landroid_content_SharedPreferences_Editor_ = JNIEnv.GetStaticMethodID(class_ref, "apply", "(Landroid/content/SharedPreferences$Editor;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallStaticVoidMethod(class_ref, id_apply_Landroid_content_SharedPreferences_Editor_, __args);
     } finally {
     }
 }