History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/OpReorderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
670a72b9301fa53a763344036e4d3ff1995f36df 24-Nov-2014 Yigit Boyar <yboyar@google.com> Fixed minor bugs in RV's scroll handling.

This CL fixes two issues related to how RV handles scrolling.
Previously, if layout manager supports scrolling in both directions, RecyclerView
would stop flinging if LayoutManager cannot scroll as much as requested
in both directions. Now, it continues even if only one of them is fully consumed.

This CL also fixes a bug where if fling or smooth scroll is manually called, we would not
check if LayoutManager supports scrolling in that axis. This would result in unexpected
calls to LayoutManager which may create problems if it is a generic one that supports
both orientations (like the default ones). Now, we'll check if LM supports scrolling
in that axis in public scroll/fling methods.

Bug: 18208220
Change-Id: Ia8e30a3b822b06cf275ae6c2de7e64b8e70e4d59
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/OpReorderTest.java
4b9b4d3fca81486051bac9aadb73d8865948c3bf 12-Sep-2014 Yigit Boyar <yboyar@google.com> More adapter helper tests and bugfixes

Move operations are harder to handle because they break
continuity. With this change, AdapterHelper will first
reorder ops to push them to the end of the list then
process as usual.

Bug: 17457999
Change-Id: Ifb95264adf75a59b81fcab02269047681a26333c
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/OpReorderTest.java