History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f129f1b050d2542a91fe8175eac30183beb07b41 20-Apr-2015 Chris Banes <chrisbanes@google.com> Nested Scrolling support for RecyclerView

Also fixed annotation for ViewCompat's overscroll

BUG: 20334660

Change-Id: Iafa2f52f63d9aa9d5c8ce10b5e8bf108c1407a12
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
4ef064e4d8dd8e835d878bf0c0358dff60e46733 30-Jan-2015 Yigit Boyar <yboyar@google.com> Merge "Widen the scope of ViewHolder#getAdapterPosition" into lmp-mr1-ub-dev
619ac016831a5ad75c2e0921c9036b6f030a9e63 29-Jan-2015 Yigit Boyar <yboyar@google.com> Widen the scope of ViewHolder#getAdapterPosition

getAdapterPosition in ViewHolder needs to access RecyclerView to get
the up to date position. This does not work if developer wants to
access adapter position in onViewDetached/Recycled callbacks.

This CL adds a reference from ViewHolder to the RecyclerView for the
duration it is controlled by the RecyclerView (right before binding
from the adapter till it is passed to the RecycledViewPool).

Bug: 18960075
Change-Id: I4e310aff14f827f6289caaf2b94e61288ed3fb1a
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
1a2a95faea3d32075b8506f13f6d6f8292db51b6 29-Jan-2015 Yigit Boyar <yboyar@google.com> Ignore hidden views for adapter helper

When adapter helper processes updates, it is important for it
whether a View is already in the UI or not. When we run
that check, we would usually check hidden views as well.

This becomes an issue if hidden view is not up to date because
it will be recycled while trying to re-use it in pre-layout.
(end animation callback will recycle it because it is not
up to date)

This CL changes AdapterHelper to ignore hidden views so that
they can continue their animation and LM will animate the rest.

Bug: 19170543
Change-Id: Ic26efd4e2a215481415131715625d785edc4f6ef
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.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/tests/src/android/support/v7/widget/TestActivity.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/tests/src/android/support/v7/widget/TestActivity.java
15a9db9177a871c7b1cd65b8923beac1b9b75174 06-May-2014 Yigit Boyar <yboyar@google.com> Remove adapter access from layout manager

Change-Id: I33a48528e3290fa78aaa67237f3b098e010e09d9
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java