LinearLayout: handle overwritten performClick() method

This is needed to make TabLayout functional
This commit is contained in:
Julian Winkler
2023-09-01 12:19:45 +02:00
parent fb1a07967e
commit 295d9dfda3
3 changed files with 17 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ void set_up_handle_cache(JNIEnv *env)
handle_cache.view.computeScroll = _METHOD(handle_cache.view.class, "computeScroll", "()V");
handle_cache.view.getScrollX = _METHOD(handle_cache.view.class, "getScrollX", "()I");
handle_cache.view.getScrollY = _METHOD(handle_cache.view.class, "getScrollY", "()I");
handle_cache.view.performClick = _METHOD(handle_cache.view.class, "performClick", "()Z");
handle_cache.asset_manager.class = _REF((*env)->FindClass(env, "android/content/res/AssetManager"));
handle_cache.asset_manager.extractFromAPK = _STATIC_METHOD(handle_cache.asset_manager.class, "extractFromAPK", "(Ljava/lang/String;Ljava/lang/String;)V");