Renames continued...
This commit is contained in:
Родитель
8d9c6713cc
Коммит
4552c13ad2
|
@ -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); }
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче