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
ListView: implement setSelection() and scrollTo()
This commit is contained in:
@@ -215,6 +215,14 @@ JNIEXPORT jlong JNICALL Java_android_widget_AbsListView_native_1constructor
|
||||
JNIEXPORT void JNICALL Java_android_widget_AbsListView_native_1setAdapter
|
||||
(JNIEnv *, jobject, jlong, jobject);
|
||||
|
||||
/*
|
||||
* Class: android_widget_AbsListView
|
||||
* Method: native_scrollTo
|
||||
* Signature: (JI)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_widget_AbsListView_native_1scrollTo
|
||||
(JNIEnv *, jobject, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: android_widget_AbsListView
|
||||
* Method: setItemChecked
|
||||
|
||||
Reference in New Issue
Block a user