Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected override void OnAttached()
- {
- try
- {
- IntPtr IntPtrtextViewClass = JNIEnv.FindClass(typeof(TextView));
- IntPtr mCursorDrawableResProperty = JNIEnv.GetFieldID(IntPtrtextViewClass, "mCursorDrawableRes", "I");
- JNIEnv.SetField(Control.Handle, mCursorDrawableResProperty, Resource.Drawable.custom_cursor);
- }
- catch (Exception e) {
- Console.WriteLine(e);
- }
- }
- JNI DETECTED ERROR IN APPLICATION: jfieldID int android.widget.TextView.mCursorDrawableRes not valid for an object of class md5a6256f8d5bc17d3565a450e514d4a6e7.MaterialFormsTextInputLayout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement