コード例 #1
0
 public override global::Com.Squareup.Picasso.RequestHandler.Result Load(global::Com.Squareup.Picasso.Request p0, int p1)
 {
     if (id_load_Lcom_squareup_picasso_Request_I == IntPtr.Zero)
     {
         id_load_Lcom_squareup_picasso_Request_I = JNIEnv.GetMethodID(class_ref, "load", "(Lcom/squareup/picasso/Request;I)Lcom/squareup/picasso/RequestHandler$Result;");
     }
     global::Com.Squareup.Picasso.RequestHandler.Result __ret = global::Java.Lang.Object.GetObject <global::Com.Squareup.Picasso.RequestHandler.Result> (JNIEnv.CallObjectMethod(Handle, id_load_Lcom_squareup_picasso_Request_I, new JValue(p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
 public override unsafe global::Com.Squareup.Picasso.RequestHandler.Result Load(global::Com.Squareup.Picasso.Request p0, int p1)
 {
     if (id_load_Lcom_squareup_picasso_Request_I == IntPtr.Zero)
     {
         id_load_Lcom_squareup_picasso_Request_I = JNIEnv.GetMethodID(class_ref, "load", "(Lcom/squareup/picasso/Request;I)Lcom/squareup/picasso/RequestHandler$Result;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         global::Com.Squareup.Picasso.RequestHandler.Result __ret = global::Java.Lang.Object.GetObject <global::Com.Squareup.Picasso.RequestHandler.Result> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_load_Lcom_squareup_picasso_Request_I, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }