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/LinearLayoutManager.java
|
6490f4b25e7725acd06248f0247fb0c7634afcb1 |
|
13-Nov-2014 |
Yigit Boyar <yboyar@google.com> |
Compute scroll offset bugfixes This CL fixes two related scroll offset calculation bugs in LayoutManagers. LinearLayoutManager was not checking if View is visible when finding start and end children. This creates a problem if extra space is not 0. This CL changes that code to check item visibility and also prefer fully visible item if smooth scrolling is disabled. Not doing so will create problems when top of the list is reached. StaggeredGridLayoutManagerw was already checking item visibility but it was not falling back to a partially visible child if none of the children is fully visible. This would jump offset to 0 as no children can be found. Now, it accepts a partially visible child if none of the children is fully visible. Bug: 18314430 Bug: 18344415 Change-Id: Ie2710cb10289cad91af1901e7d15a6a1a96040c4
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
ffff7c903fa7dbf176fd251f77a959e6b9531456 |
|
09-Oct-2014 |
Yigit Boyar <yboyar@google.com> |
Make sure orientation helper is initialized before accessing Bug: 17724151 Change-Id: Idc8ce16d0c3c325ef5a90b41330d3f109517fe17
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
b7a7e22ec7f60a1a08c2f885468075e4f432117d |
|
02-Oct-2014 |
Yigit Boyar <yboyar@google.com> |
Prefer laying out extra children at the end Bug: 17660991 Change-Id: Iae85399a19ea72ad6cf1f38ec07a9faf10baefbb
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.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/LinearLayoutManager.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/LinearLayoutManager.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/src/android/support/v7/widget/LinearLayoutManager.java
|
62f48726406b8be9ff7f990564bc82febefde931 |
|
05-Sep-2014 |
Yigit Boyar <yboyar@google.com> |
Merge "Fix GridLayoutManager's reverse scroll" into lmp-dev
|
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/LinearLayoutManager.java
|
a5dc6f3eb86aacd2b287f6ea588aa1d900f6702a |
|
01-Sep-2014 |
Yigit Boyar <yboyar@google.com> |
Return first level focused child of RecyclerView Bug: 17340646 Change-Id: Ic583cd54984f46dc3c8dfa3b65cb60dcd923cf69
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
7b1cece5171a60e11e1a4e11216a85ae722ea656 |
|
20-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Merge "Fixed anchor view check in LLM" into lmp-dev
|
be9090704b5671c49f1e89cb7003f4744cd69918 |
|
20-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Fixed anchor view check in LLM Bug: 17132172 Change-Id: Iea500f01578493ac34811bdfb8d4f7ee82be6754
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
48465069f050ebcecd6142a8741af2d0fcdae4dc |
|
20-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Merge "Add predictive animation support to GridLM" into lmp-dev
|
ff6a18ccc12673e67ae2b143de1bb27048824365 |
|
18-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Better animation handling in LLM when all children are removed Change-Id: Idadb2892c1422dbe79cd92e9931da8222a33c23d
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
8a1f650a5d51c95b0d4e34c11b4c6d453ce6696c |
|
18-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Improve LinearLayoutManager's predictive layout handling This CL updates LLM to select anchor child more carefully. Previously, it was selecting a child whose position is withing State#itemCount bounds. Now it chooses a visible child which is not removed. If cannot find such child, prefers a child that is not removed but not within view bounds. If it does not exists either, falls back to a child whose position is within adapter bounds. Change-Id: I6aa759b17d80b5f08d4e874bda177501fa1acbe3
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.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/LinearLayoutManager.java
|
18ae336dbaae3db982f38cde08936c9f0243757b |
|
14-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Make sure views are not re-added to disappearing list Bug: 17020852 Change-Id: I044ae613ac00e2bd0b1ec7928fac9a5ca09c3f59
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.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/src/android/support/v7/widget/LinearLayoutManager.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/LinearLayoutManager.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/LinearLayoutManager.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/LinearLayoutManager.java
|
310e95e1c6dfe4f26ef594233e65e1ff83e0f1ff |
|
01-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Improve LinearLayoutManager's re-layout handling This CL fixes a bug in LinearLayoutManager where it was not respecting stackFromEnd/reverseLayout parameter when RecyclerView is resized. With this CL, LLM also considers focused child when selecting the anchor item so that focused child stays at the same position. I also cleaned up some code and moved complex stuff to separate methods. This should help make the code more readable. Change-Id: I8427ee60ee45c337e7e670853d4eeb002592048e
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
6e83751247c5be0211d7bffaf057431c03dfef38 |
|
25-Jul-2014 |
Yigit Boyar <yboyar@google.com> |
LayoutManagers should not jump to position in pre-layout Bug: 16550277 Change-Id: I60335e4994309e53311e95c890a4934edead70f0
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
7c7fba8365684e1ccfc4f39f286df4d100c6c81f |
|
21-Jul-2014 |
Justin Klaassen <justinklaassen@google.com> |
Support predictive change animations Currently appearing views are not positioned correctly when performing a predictive animation due to a change in the underlying dataset. To allow the LayoutManager to supply pre-layout info for the appearing views, allow the changed view to be scrapped and preserved during the pre-layout pass / change animation. Bug: 16040380 Change-Id: Ib4ed1b4fee1965cae356e6ba1b6e6d7a8ea52e67
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
8c23e5d30a95b7807109db376d43a07a52e00802 |
|
22-Jul-2014 |
Yigit Boyar <yboyar@google.com> |
Improve LinearLayoutManager's scroll offset calculations Bug:16374413 Change-Id: Iad31899a595092aa289ecdd60447f6e960c78b40
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
c032ec5462f6c7c07031310090e23af65841deee |
|
18-Jul-2014 |
Yigit Boyar <yboyar@google.com> |
Track clip to padding variable in RecyclerView * Changed edge effects to respect clip to padding * Improved LinearLayoutManager support for clipToPadding=false Bug: 16353602 Change-Id: I58957b03766594121404bbb8187c57ed1d8ea74e
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
719a0dfbcf2ca2b63cc3ce1e7ab18eadb3694f2c |
|
03-Jul-2014 |
Yigit Boyar <yboyar@google.com> |
Choose a valid anchor child in LayoutManagers If predictive animations do not run, RecyclerView may call LayoutManager with children whose positions are wrong (in case they are deleted). This diff improves anchor child selection logic to ensure child has a reasonable position. It might be a good idea to bring back RecyclerView's notifiyDataSetChanged position handler to make this easier for LayoutManagers (though they still need this code to avoid bugs). Bug: 15691747 Change-Id: Ia341397a835e0120d172691921466401022868d3
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
6d35693091a469a1048e418171176a6792f5d015 |
|
04-Jul-2014 |
Yigit Boyar <yboyar@google.com> |
Fixed LinearLayoutManager's predictive layout This fixes a bug which caused LLM not to layout extra views in pre-layout phase. * Removed an unnecessary state==null check. This used to be valid when we were not passing state to focus search method. * Made scroll target check more strict to avoid stopping for removed views Change-Id: I0afa02880917ca9150c0b43e916a018a3cbfade1
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
0bdfd8728199045676f3ad6c6571e7080099716f |
|
30-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
Validate layout and scroll only methods in RecyclerView If an adapter update method or LayoutManager configuration method is called during a layout or scroll; it creates very hard to detect bugs. With this change, RecyclerView, LinearLayoutManager and StaggeredGridView starts checking some of these potential mistakes. Coverage can be extended. Bug: 15615904 Change-Id: I07a4fcf59d02af09e634b4a4eff090538d051d3e
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
49c83b12201dde5b93d4eca3d44478e0c967a2e6 |
|
26-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
Pass recycler to LayoutManager#onDetach callback Bug:15736907 Change-Id: I6cd50800ebae0ff10b99665fcda77b0da411065c
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
3ed05355fded55e438477b23a1864c3b6d129342 |
|
27-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
Fixed RecyclerView edge effect problems This fixes an issue where RecyclerView glows were not drawn in correct location. It also changes how LayoutManagers handle padding. Now LinearLayoutManager and GridManager both ignore padding for recycling. Bug: 15262561 Change-Id: Id760ace44b809f37ee4a905dcb0d56c1583ae072
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
668e774379c036a5d53d07ec69ed9ebee13a1fd9 |
|
20-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
Track hidden views to allow interleaved disappearing children in RecyclerView RecyclerView used to put animating views at the end of the view group list which may cause problems if views overlap. Instead, this implementation keeps track of hidden item positions. This CL also removes the requirement to not to call addView for disappearing children. Instead, LayoutManager can add children via addView (if it is removed) or addDisappearingView (if LayoutManager want to remove it) and RecyclerView will hide those views from the LayoutManager after the layout pass is complete. This CL also enabled animations even if no item changed notifications are received from Adapter. This is useful when LayoutManager changed how it lays out views w/o any change in the adapter. LayoutManger can still disable this feature via existing animations callbacks. Change-Id: I1aee1832ba1d4e5aff4213bc73fa77a52b70a83d
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
94c0b086c12e634976fecd47d442bc7a1a6341bb |
|
17-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
LLM cleanup Change-Id: Ib4c9571855dc9a0be6bc5931536e37ff686f5c7d
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
e679158cd5f7469d49918c80e6cfaf4ba35d6ea6 |
|
13-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
Improve LinearLayoutManager predictive animation coverage Bug: 15591206 Change-Id: I94d07fb4d938495f5070bdb3769269090afacac4
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
75b7ff9ccca9311854e9c74282b1af1ce87df470 |
|
04-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
LinearLayoutManager scrollToPosition after restore bugfix Bug: 14271688 Change-Id: I8cefac46ed575e748a78b3a6071bb886c00f07ea
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
8c1ebc6e59cc5a28de408f4138d3fa8870e8face |
|
12-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
Temporary fix to track removed children in LinearLayoutManager This fixes a bug in LLM where laid out but removed children were not properly considered in pre layout case. This guards against it. We should revert this CL once RecyclerView#addView can be called for removed views as well. Bug: 15568972 Change-Id: Ib0dd8b77b889041bbdff0dd48917b66eff742782
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
c35968d173f900d8024bdf38174e2225c9a7f311 |
|
28-May-2014 |
Chet Haase <chet@google.com> |
Enable simple automatic item animations for RecyclerView RecyclerView now has automatic animations for add/remove operations requiring no changes from LayoutManagers. This approach, which is enabled by RecyclerView having a non-null ItemAnimator (the default behavior) and LayoutManager returning false for supportsPredictiveItemAnimations() (the default behavior), enables LayoutManagers to run normally, with only one layout pass and requiring no extra logic to predict placement of appearing or disappearing items. Appearing and disappearing items will simply be faded in/out, since the RecyclerView lacks the knowledge or where to animate the views from/to. Issue #15542012 Simplify RecyclerView animations Change-Id: I6219210c9b0ca32535182c1d233076a355fe0671
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
d3f1c99a290de13631f9635e06444f75344967d2 |
|
03-Jun-2014 |
Yigit Boyar <yboyar@google.com> |
Flush item updates before scroll in RecyclerView Bug: 15350129 Change-Id: Ia759eee95a2158df3835a283ad7d44841d699c3b
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
8edcb0bdeaba6931f9d8154f0c81f57da7ddab2a |
|
31-May-2014 |
Yigit Boyar <yboyar@google.com> |
Fix SavedState bugs in LinearLayoutManager Bug: 15343782, 14271688 Change-Id: Idbd23ce08b51746ccc17d3f2a81a6ed8349bd45c
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
d7848507d6c561ca8e17d1954653f4fd26b58f84 |
|
30-May-2014 |
Yigit Boyar <yboyar@google.com> |
Added first/lastVisible methods to LinearLayoutManager Bug: 13909619 Change-Id: I947c3cd018afa2a8d387d6cbc87e03b566ee5392
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
b5f8b4fecb531aee6b359b4968409410aba90817 |
|
17-May-2014 |
Yigit Boyar <yboyar@google.com> |
Full animation support for LinearLayoutManager Change-Id: Ie3b265a9f880d68746d1bd193d787f34ea8d0045
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
d7d27e9ebe5c7325e67e1a8af265378bd2056cad |
|
28-Feb-2014 |
Chet Haase <chet@google.com> |
Add animations to RecyclerView This CL adds the basic plumbing for animating item changes in RecyclerView. It also implements the bare essentials add/delete animations. When the app specifies that items have been added/removed (by calling the appropriate Adapter methods), the RecyclerView will determine the appropriate fading and moving animations to animate the items being added, removed, and moved into new locations. Change-Id: I4fa8686f54c8bfa2ba29c399eea112d33f71689c
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
bde2d5e79f929ce8c54de29c8389695b4d4e9c25 |
|
15-May-2014 |
Chet Haase <chet@google.com> |
Revert "Remove adapter access from layout manager" This reverts commit 15a9db9177a871c7b1cd65b8923beac1b9b75174. Change-Id: Ia80ac4f093c49145a6a2c09d1ea4f9102b195f40
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
15a9db9177a871c7b1cd65b8923beac1b9b75174 |
|
06-May-2014 |
Yigit Boyar <yboyar@google.com> |
Remove adapter access from layout manager Change-Id: I33a48528e3290fa78aaa67237f3b098e010e09d9
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
0447ba889146f60d6965e6ea66fa4e2cac4d0891 |
|
07-Apr-2014 |
Yigit Boyar <yboyar@google.com> |
RecyclerView smooth scrolling support Added APIs and base code to RecyclerView to support smooth scrolling Added a LinearSmoothScroll that can be used as the default one and should work well for most layouts. Added ScrollContext class as a POJO to carry state information to layout and scroll methods. Change-Id: I9a83c460adfdd5330141167cfbc793beb3a845c8
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
08cbcdeb4283048c097397d042d5ae0d2b8683d3 |
|
04-Apr-2014 |
Yigit Boyar <yboyar@google.com> |
RecyclerView saveInstanceState Initial implementation for LinearLayoutManager Change-Id: Iaf734c5a23c1d5bf8504875975c75af3b9c88388
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
d9746b39ccf730ebb2780fa0d6a5d4970c06076d |
|
03-Apr-2014 |
Yigit Boyar <yboyar@google.com> |
LinearLayoutManager scroll with offset support Added support for scroll to position with offset from start Cleaned layout code to handle position jumps easily Change scroll to position behavior to match smooth scroll to position Change-Id: Iecb2ab3d782268861705e3e838fb6f7ee87f1df5
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
25a1df3b5e7fcd875440ccf6b877cb280d63f418 |
|
26-Mar-2014 |
Yigit Boyar <yboyar@google.com> |
Scrollbar and scrollToPosition support for RecyclerView * Added scrollToPosition(int) to LayoutManager and implemented in LinearLayoutManager. * Added a passthrough scrollToPosition method to RecyclerView for convenience. * Added passthrough computeScroll* methods to LayoutManager, implemented in LinearLayoutManager. Change-Id: If749b4447363cca6cf8162a1cf1bf03cfac3cd14
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
2aad60a0bcc40c5985f8e5e7c6b5c139cde6ceee |
|
22-Mar-2014 |
Yigit Boyar <yboyar@google.com> |
DPAD navigation support for LinearLayoutManager LinearLayoutManager tries to scroll and bring new children in if RecyclerView cannot find the next focus child automatically Change-Id: I51871235e41b2eb776948638b89c5957ce5f714d
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
9c8635b18305aa7af214ee214f3efff6eb29462d |
|
25-Mar-2014 |
Yigit Boyar <yboyar@google.com> |
Consider child views' margins when measuring layout Bug: 13627186 Change-Id: Ia8337ac0e0a075f2ed503b094a71b6bc81fc21b4
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|
7dad56243ebcde65d75d592dc802269a4d86c875 |
|
18-Mar-2014 |
Yigit Boyar <yboyar@google.com> |
List Layout Manager Layout Manager that can be attached to a RecyclerView and provide similar functionality to android.widget.ListView. This is work in progress but stable enough to start using. Keep in mind, API may change. So far, it supports: * Horizontal and vertical layouts * RTL layouts * Reverse layout (similar to RTL but also works vertical) * Stack from end (similar to AbsListView's stackFromBottom but in both orientations). * View recycling It does NOT add dividers by default but you can provide them as ItemDecorators. Change-Id: Ic13922bac938b40fd74fa2ed910cdd1c3ea735b7
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
|