This class handles basic accessibility actions and delegates them to LayoutManager.
mRecyclerView = recyclerView;
return mItemDelegate;
super.onInitializeAccessibilityEvent(host, event); event.setClassName(RecyclerView.class.getName()); if (host instanceof RecyclerView) { RecyclerView rv = (RecyclerView) host; if (rv.getLayoutManager() != null) { rv.getLayoutManager().onInitializeAccessibilityEvent(event); } }
super.onInitializeAccessibilityNodeInfo(host, info); info.setClassName(RecyclerView.class.getName()); if (mRecyclerView.getLayoutManager() != null) { mRecyclerView.getLayoutManager().onInitializeAccessibilityNodeInfo(info); }
if (super.performAccessibilityAction(host, action, args)) { return true; } if (mRecyclerView.getLayoutManager() != null) { return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args); } return false;