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
copy AdapterView, AbsSpinner and Gallery from AOSP
copied from tag android-6.0.1_r81 existing GTK based implementation was moved from AbsSpinner to Spinner
This commit is contained in:
@@ -104,4 +104,15 @@ public class ListView extends AbsListView {
|
||||
public void setSelection(int position, boolean animate) {
|
||||
super.setSelection(position + getHeaderViewsCount(), animate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public View getSelectedView() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'getSelectedView'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSelection(int position) {
|
||||
setSelection(position, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user