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:
@@ -99,4 +99,9 @@ public class ListView extends AbsListView {
|
||||
}
|
||||
|
||||
public void setDividerHeight(int height) {}
|
||||
|
||||
@Override
|
||||
public void setSelection(int position, boolean animate) {
|
||||
super.setSelection(position + getHeaderViewsCount(), animate);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user