You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
handle overwritten onDraw function in WrapperWidget
This makes it easy to support for example ImageView with custom onDraw function
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#define _PTR(ptr)((void*)(intptr_t)(ptr))
|
||||
#define _INTPTR(ptr)((jlong)(intptr_t)(ptr))
|
||||
#define _REF(obj)((*env)->NewGlobalRef(env, obj))
|
||||
#define _UNREF(obj)((*env)->DeleteGlobalRef(env, obj))
|
||||
#define _CLASS(object) ((*env)->GetObjectClass(env, object))
|
||||
#define _SUPER(object) ((*env)->GetSuperclass(env, object))
|
||||
#define _METHOD(class, method, attrs) ((*env)->GetMethodID(env, class, method, attrs))
|
||||
|
||||
Reference in New Issue
Block a user