History log of /frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/GridLayoutManager.java
42e9353bb9eb2747247e30e3612b227945acfd16 06-Nov-2014 Yigit Boyar <yboyar@google.com> Respect layout params in scroll direction

This CL improves how StaggeredGrid handles layout params. Previously, it was
ignoring the layout params completely. Now, it considers it while measuring the
child in scroll direction.

Bug: 18242667
Change-Id: I8c98e866fb582e93fcab2223d4d345ebbf8fda02
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
afa0494a97687b705feb3659385578f33f697ea9 15-Sep-2014 Yigit Boyar <yboyar@google.com> Fix GridLayoutManager's measurement bug

GridLayoutManager was not re-measuring shorter children when they are
resized to the size of tallest child.

Bug: 17487208
Change-Id: Iccd28cf29e27ceda3105259cb6e33e695a44926d
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
5f1c90f3afcf680f6467d80eb369f81f35222ed3 10-Sep-2014 Yigit Boyar <yboyar@google.com> QuickFix for GridLayoutManager's inheritence problem

Bug: 17422424
Change-Id: Ifa88d8e6f49a173a104c9a4ec38474b827978784
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
a910619e83d0052e1d81aa5fe532821a2f99d76c 09-Sep-2014 Yigit Boyar <yboyar@google.com> Add a11y support for RecyclerView

Bug: 17411052
Change-Id: I9ef93f0bb072e190d6017ee991e6d2c0ab119a62
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
b122e5ae5794e374229c241a2bc601b0809b7b04 05-Sep-2014 Yigit Boyar <yboyar@google.com> Fix javadoc build failure

Change-Id: I4d13e091ccc1b3ea788fdf16b6c639f799af19a4
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
061c3284cf284424ae084799dd7ba5c8d6d59faa 01-Sep-2014 Yigit Boyar <yboyar@google.com> Fix GridLayoutManager's reverse scroll

This change also fixes a bug where GridLayoutManager was not
respecting the size in LayoutParams (in scroll direction).

Bug: 17338285
Change-Id: I80f5fdd7c46f4ed2c7357f89c3556b0a7ed59d85
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
9ace89f49ed497e649b127beb12b8a237e5d30e7 16-Aug-2014 Yigit Boyar <yboyar@google.com> Add predictive animation support to GridLM

Bug: 16847853
Change-Id: Ibeda5c5efda7b87d387cbc1b56c766fca5e3bf3a
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
73304eff156157f62075215e795e774803a6f96a 15-Aug-2014 Yigit Boyar <yboyar@google.com> Span calculation bugfix for GridLM

This build also adds a sanity check to layout method to verify item's span count
and throw an exception if item does not fit to Grid.

Bug: 17064017
Change-Id: I6794ed04c7ccedb839e03a75c98c3949a959eb8c
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
c6f82b1e233c11ce3130325430be93ea018ba7f1 08-Aug-2014 Yigit Boyar <yboyar@google.com> Merge "Dont save config parameters in saved state" into lmp-dev
5e79cc4e2c96b0dd1d4de6f3208f9da3bcb69d26 06-Aug-2014 Yigit Boyar <yboyar@google.com> Provide a public method to calculate decor insets

Bug: 16842411
Change-Id: I3fa347d8f99da26b3afbf675334f670db710ca45
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
b8403301bbec29129730f6cce3fe2fa3ee8e1e0b 06-Aug-2014 Yigit Boyar <yboyar@google.com> Dont save config parameters in saved state

Bug: 16822490
Change-Id: I2c652bf96f583443ab6402969d3fedf652b9ec04
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java
b97e8219784e623526bc3c6077a698d608f04fd9 05-Aug-2014 Yigit Boyar <yboyar@google.com> Added simple GridLayoutManager

Bug: 16678349
Bug: 16734653
Bug: 16661383

Change-Id: I29a74bdffa9386831faab191f1c3d268743dbf6d
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/GridLayoutManager.java