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/src/android/support/v7/widget/ScrollbarHelper.java
|
392b5deade5236541cd95743001236ac86abd051 |
|
10-Nov-2014 |
Yigit Boyar <yboyar@google.com> |
Fix calculation for items before the start position Bug: 18266809 Change-Id: I46ff649e36a34a1d6d27a79705f31207f6cbf907
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ScrollbarHelper.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/src/android/support/v7/widget/ScrollbarHelper.java
|