We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52f7fcf + eb0c52e commit a72a806Copy full SHA for a72a806
core/java/android/widget/AdapterView.java
@@ -922,6 +922,7 @@ public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
922
if (selectedView != null) {
923
event.setEnabled(selectedView.isEnabled());
924
}
925
+ event.setCurrentItemIndex(getSelectedItemPosition());
926
event.setFromIndex(getFirstVisiblePosition());
927
event.setToIndex(getLastVisiblePosition());
928
event.setItemCount(getAdapter().getCount());
0 commit comments