History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewAccessibilityTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
da50fde358bd3ef2edb273b3bf0265cf5e84ec6b 12-Mar-2015 Yigit Boyar <yboyar@google.com> Ignore accessibility events if layout is invalid

This CL adds a check to AccessibilityDelegate to ignore accessibility info
requests if RecyclerView has a pending layout calculation. These callbacks
are problematic to handle in these limbo states because any custom callback
does not necessarily know whether RecyclerView could update or not.
Also, since there will be a layout calculation in near future, all these
events will arrive again.

This CL also adds a public API to query this state so that developers can
take advantage of it for custom logic (e.g. ignore click event if data is
invalid).

Bug: 19085424
Bug: 19717689
Change-Id: Ice13ed8d77657632007686bc57183f09954b8e8a
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewAccessibilityTest.java
a910619e83d0052e1d81aa5fe532821a2f99d76c 09-Sep-2014 Yigit Boyar <yboyar@google.com> Add a11y support for RecyclerView

Bug: 17411052
Change-Id: I9ef93f0bb072e190d6017ee991e6d2c0ab119a62
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewAccessibilityTest.java