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/jvm-tests/src/android/support/v7/widget/AdapterHelperTest.java
|
f1b288ec2104488f4a92e911b0ab80c8f0f3e9d1 |
|
28-Dec-2015 |
Yigit Boyar <yboyar@google.com> |
Add test size annotations to RecyclerView Tests Bug: 24494874 Change-Id: I0e7606d1c55017dc17467155372b708a0b1ea36d
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/AdapterHelperTest.java
|
21b345f101abc385496f42d250e580d21f1287b6 |
|
04-Jun-2015 |
Dake Gu <dake@google.com> |
RecyclerView: Add payload for efficient bind Add an optional payload in onBindViewHolder and notifyItemChanged. The payload can be used to indicate the partial change of an item so that onBindViewHolder can do an efficient rebinding. We are going to add in-place Change animation in next CL. The in-place Change animation happens on the existing holder, Adapter will receive a payload in onBindViewHolder. The existing crossfading CHANGE involves two viewHolders, the oldViewHolder is faded out without rebinding, the newViewHolder is binding to a scrap view and faded in. Change-Id: I117e5fe24d757dc89e68bb5860b5f4fb71bd9cf5
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/AdapterHelperTest.java
|
be7a54a6e02c9230a08e63f1c964907d129b6a10 |
|
07-Apr-2015 |
Yigit Boyar <yboyar@google.com> |
Integrate espresso w/ RecyclerView. Hi Junit4 ! This change also adds support for running testes on host machine. Bug: 20258423 Change-Id: Ic8bd569d852a7d6d1c74c5fc4a4bf16703f71e52
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/AdapterHelperTest.java
|