115ba0c7b2a14aa4cd0273952195e1d8f6468f87 |
|
10-Nov-2014 |
Yigit Boyar <yboyar@google.com> |
Deprecate ViewHolder#getPosition getPosition methods in RecyclerView were ambiguous because of the deferred handling of adapter updates. To avoid future confusion, this CL deprecates methods that receive or return "position" and introduces two methods that receive / return "layoutPosition" or "adapterPosition". This will help developers get the exact number they need (e.g. the position in adapter vs the position user is currently seeing) The following methods have been deprecated: RecyclerView#getChildPosition RecyclerView#findViewHolderForPosition ViewHolder#getPosition LayoutParams#getViewPosition Bug: 18213371 Change-Id: I52667bd43e32fc55de8861f5fdc01a0aa7fbe60f
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.java
|
90ca3086dbf66ad6bb8840e46ec8524a705e1c18 |
|
03-Oct-2014 |
Yigit Boyar <yboyar@google.com> |
Fix RV's onViewAttached/detached callbacks This change also fixes a bug in DefaultItemAnimator. Bug: 17599182 Bug: 17881182 Change-Id: I4adadeb5d2d7d5aaef0f253eac52d2624de73d5e
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.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/AdapterHelperTest.java
|
e4fde6825bba479c9b030feb8f810694d46b2f06 |
|
11-Sep-2014 |
Yigit Boyar <yboyar@google.com> |
Fix how adapter helper handles update ops Bug: 17457999 Change-Id: Id0bb13d7d20e559d233f9a855d996439fb7982c2
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.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/AdapterHelperTest.java
|
245b9720dad47a694d16a1d0f48ad462bc27989f |
|
28-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Fix failing RecyclerView unit tests This CL fixes a bug in AdapterHelper unit test and also fixes a bug in LinearLayoutManager where stack from end was not handled properly. Bug: 17310313 Change-Id: I4da8be0145f901de29a4baea6df97d226c471302
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.java
|
572bf0c80bb3db98ce0fbb091073dabc4f1f8af0 |
|
15-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Merge "Bugfixes for StaggeredGridLayoutManager" into lmp-dev
|
c50c4cad31d73e574b27bb3d7581542975e37263 |
|
15-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Fixed LinearLayoutManger's scrollToPositionWithOffset Previously, LLM was not handling scroll to position with offset when layout is reverse or stack from end, this change fixes it, adds tests. I also improved how predictive animations are handled. If a visible item is scrolled, now LLM lays out more children in the opposite direction in pre-layout so that when they become visible, they don't just fade in but animate from the correct direction. Bug:17015719 Change-Id: I2748c0636927159201202a7eb4caf338d67d6ca9
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.java
|
d7e2f2ab1d253133fa54f309e74a7ee384c33971 |
|
08-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Bugfixes for StaggeredGridLayoutManager Bug: 16678349 Bug: 16403163 Bug: 16734653 Change-Id: If78aa7ec4a09860ccca698bcb851dff5e5db5ae7
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.java
|
4bacf13ec17763ba2e2d049d32a4a1dcca77a433 |
|
07-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Provide an API to map pre-layout positions to adapter This CL also fixes a bug in AdapterHelper where it was not handling it properly when a moved item is removed at the same layout pass. Bug: 16192614 Bug: 16823251 Change-Id: I30e66e75a85f0396381c9a4f1dea8bf20655e4bc
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.java
|
16e5adf5416248d97f2aeaa9d5e17bb5093130eb |
|
06-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Dispatch adapter updates before ViewHolders are updated Previously, AdapterHelper was dispatching update ops after calling the callback to update ViewHolders. In that case, if LayoutManager wants to compare its ViewHolders with the dispatched event, ViewHolder would return the wrong position since it has already been updated according to the update op. Bug: 16840245 Change-Id: I77dee13ed2ca0afa975cdbc7a0fbd1b49811a31d
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.java
|
1faed0c7c20fc3a0b7befabbac1beac1019effc7 |
|
10-Jul-2014 |
Yigit Boyar <yboyar@google.com> |
Add move operation to RecyclerView adapter Bug: 16127440 Change-Id: Iefd305e714a4bc6dad5f071dfba92aa5c5af8ca3
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.java
|
8ae76f91527ce850f155ce960fb9068bcd5d49f9 |
|
05-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
Fixed RecyclerView position bookkeeping bugs Bug: 15397591 Bug: 15350129 Bug: 15547859 Change-Id: I54d754eb2b788311048d7557f51967b748b2de3e
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/AdapterHelperTest.java
|