1e827caa16440590647019b9c1338f6309c5be7a |
|
19-Jan-2017 |
Aurimas Liutikas <aurimas@google.com> |
Fix style issues in RecyclerView module. Test: None, there should be no behavior changes. Change-Id: Ibf8690102bc0c6a4368ed0a7977056e9437344a2
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ViewInfoStore.java
|
c39d9c75590eca86a5e7e32a8824ba04a0d42e9b |
|
25-Aug-2016 |
Alan Viverette <alanv@google.com> |
Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations Also removes some unnecessary @hide annotations on classes that wouldn't have shown up in docs anyway due to package/private visibility or NO_DOCS. Bug: 27937193 Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ViewInfoStore.java
|
a7d7e30042bb6fbe2944b752a24fd57fd31d285f |
|
03-Mar-2016 |
Yigit Boyar <yboyar@google.com> |
Ignore views that appear and disappear This CL fixes a bug where if a view is added in a layout pass and removed in a following layout pass, we would try to run animate disappearance although it never appeared. RV already handles the case if the view is added in pre-layout. This CL fixes the case where it happens between different layout passes, which might happen when the LM uses auto-measure. Bug: 27457120 Change-Id: I4c044c2eb8ff23883e1522491c1e053645f96131
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ViewInfoStore.java
|
13a0acc0df34344c0b4fd4b494a64e7dcf195b56 |
|
17-Feb-2016 |
Yigit Boyar <yboyar@google.com> |
Handle gracefuly if changed items disappears This CL fixes a bug where if an Item is changed and also disappears in the same layout pass, RecyclerView would call both animation APIs which is a problem because it is designed to call only one animateXXX callback per ViewHolder. With this CL, it only calls animateChange but takes care of hiding the disappearing views. Bug: 27137909 Change-Id: I28e7a3c24e9cd0c8bf6790070b382830014e8987
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ViewInfoStore.java
|
4143554adb9b31b700b6876a251a64419e6111e2 |
|
10-Dec-2015 |
Yigit Boyar <yboyar@google.com> |
RecyclerView Automatic WRAP_CONTENT support This CL adds support for wrapping content for RecyclerView while supporting predictive animations. It is an opt-in API which is off by default because these changes will change the callback flow, especially will start calling LayoutManager#onLayout when RecyclerView#onMeasure is called. See LayoutManager#setAutoMeasureEnabled for API details. All built in LayoutManagers support WRAP_CONTENT using this new mechanishm. Bug: 22508392 Change-Id: I6e010f8807e9d2fa379dd52493b2d8340b8c65de
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ViewInfoStore.java
|
e09e0b4ea04b6b6b0ef6c62979e8abdead0bf378 |
|
30-Sep-2015 |
Yigit Boyar <yboyar@google.com> |
Cleanup for item tracking This CL abstracts the Item tracking for RecyclerView. This makes it much easier to test (better encapsulation) + cleaner code. And as an added bonus, I merged some maps to speedup lookups. There is also a small (unreleased) API change for the new ItemAnimation callbacks. It was wrong in the first one but didn't realize because SimpleItemAnimator was taking care of it. I've also added some support annotations & fixed some warnings. Bug: 24665726 Change-Id: Idba09e749f1c0f269d81dbdee4056f6b52ba8484
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ViewInfoStore.java
|