This commit is contained in:
Redth 2017-06-21 15:21:35 -04:00
Родитель 8d9c6713cc
Коммит 4552c13ad2
2 изменённых файлов: 29 добавлений и 29 удалений

Просмотреть файл

@ -0,0 +1,29 @@
using System;
using Android.Runtime;
namespace Android.Support.Graphics.Drawable
{
public partial class VectorDrawableCommon
{
/*
* Oddly, java_class_handle, class_ref, and ThresholdClass/ThresholdType were not being emitted
* for this class, and since this class subclasses Drawable, it was trying to use the superclass's members
* which are inaccessible. Adding these in manually *seems* to fix the issue
*/
internal static new IntPtr java_class_handle;
internal static new IntPtr class_ref {
get {
return JNIEnv.FindClass ("android/support/graphics/drawable/VectorDrawableCommon", ref java_class_handle);
}
}
protected override IntPtr ThresholdClass {
get { return class_ref; }
}
protected override global::System.Type ThresholdType {
get { return typeof (VectorDrawableCommon); }
}
}
}

Просмотреть файл

@ -1,29 +0,0 @@
using System;
using Android.Runtime;
namespace Android.Support.Graphics.Drawable
{
//public partial class VectorDrawableCommon
//{
// /*
// * Oddly, java_class_handle, class_ref, and ThresholdClass/ThresholdType were not being emitted
// * for this class, and since this class subclasses Drawable, it was trying to use the superclass's members
// * which are inaccessible. Adding these in manually *seems* to fix the issue
// */
// internal static new IntPtr java_class_handle;
// internal static new IntPtr class_ref {
// get {
// return JNIEnv.FindClass ("android/support/graphics/drawable/VectorDrawableCommon", ref java_class_handle);
// }
// }
// protected override IntPtr ThresholdClass {
// get { return class_ref; }
// }
// protected override global::System.Type ThresholdType {
// get { return typeof (VectorDrawableCommon); }
// }
//}
}