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:
Julian Winkler
2024-11-23 09:36:42 +01:00
committed by Mis012
parent f53ad02e6f
commit 332d3d1137
12 changed files with 3065 additions and 321 deletions

View File

@@ -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);
}
}