History log of /frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
10c66bcf526446328fd4be2677a7edc3bf8a519c 15-May-2018 shepshapard <shepshapard@google.com> Made it clearer to devs that an instance of SmoothScroller is only
intended to be used once.

Updated documentation and added warning logs to make it clear.

Bug: 78656209
Test: None.

Change-Id: Iadfab0c38de7c2aed78bc128ed8124faf45a655a
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
32e314ee1729d2a1b38c6d54b3cfd9f23da95d62 15-May-2018 shepshapard <shepshapard@google.com> Marked RecyclerView#findViewHolderForAdapterPosition and
RecyclerView#findViewHolderForLayoutPosition as @Nullable.

Bug: 72986747
Fixes: 72986747
Test: None.

Change-Id: Iab6240c043b106ca482bc678016bb5d03bc24c19
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
dd06969d20ecaac0733b74dda17027e40533ffb7 20-Apr-2018 Sumir Kataria <sumir@google.com> Merge remote-tracking branch 'goog/flatfoot-background' into merge_work

Change-Id: I50cc5727f76604997a4446c7996abba08a43979b
f97ddbc502678a00306afcd73e7a6bb3bcc4c189 18-Apr-2018 Sumir Kataria <sumir@google.com> Merge remote-tracking branch 'goog/pi-preview1-androidx-dev' into flatfoot-background

Change-Id: I0ce58a60a9df6aabc1c06769c64aedaab6d48fd7
ac9070f852759906e2ac4d505dcef201e9cc55d0 30-Mar-2018 shepshapard <shepshapard@google.com> Mark the View parameter in RecyclerView.focusSearch(...) to be @Nullable and updated focusSearch accordingly.
Also refactored so code paths are easier to follow.

Bug: 77201879
Fixes: 77201879
Test: RecyclerViewFocusTest

Change-Id: I038fee838dc1684017dc08eaf204a4413bdc7bd4
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
7f253d50ca143fedb1f2de756aa64b4a19e635b7 28-Mar-2018 Chris Craik <ccraik@google.com> Disable autofill in RecyclerView by default

Autofill by default doesn't make sense for RecyclerView items, since
they can be arbitrarily rebound to different data. Make autofill
opt-in for this reason.

Bug:73535714
Test: RecyclerViewAutofillTest
Change-Id: Ia6af034506e7d38de9cd8de1278c3ac7057d2614
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
c76578ea4138aa224f8142a5de111ff38b79d9c3 07-Mar-2018 shepshapard <shepshapard@google.com> Fix bug where if a RecyclerView has no adapter and setRecycledViewPool is called,
the RecycledViewPool would believe it's assocaited with an adapter.

Now, under the same scneario, the RecycledViewPool won't be told its associated
with an adapter.

Also, added some somewhat unrleated tests for RecycledViewPool.

Bug: 72684141
Fixes: 72684141
Test: RecyclerViewCacheTest
#setRecycledViewPool_followedByTwoSetAdapters_clearsRecycledViewPool
#setRecycledViewPool_followedByTwoSwapAdapters_doesntClearRecycledViewPool
RecycledViewPoolTest
#onAdapterChanged_attachedToOneOldAdapterNotNullNotCompatWithPrev_clears
#onAdapterChanged_attachedToNone_doesntClear
#onAdapterChanged_attachedToTwo_doesntClear
#onAdapterChanged_oldAdapterNull_doesntClear
#onAdapterChanged_compatWithPrev_doesntClear

Change-Id: Id7654994eb6b838f4ac9772a280e9a0acf49e2e8
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
c95a6f1f125ad3a7e1f9f79bccf4b2603bc40eba 13-Mar-2018 Aurimas Liutikas <aurimas@google.com> Fix imports for recyclerview code.

A follow up after factor to make it so androidx imports go in the
correct order.

Test: ./gradlew buildOnServer
Change-Id: I03f6c4a386503039bfa4c61832454b8380846c4f
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
e656158641dc8e3e1e7baf84b312d7c49f49e8ce 13-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add nullability and pixel annotations." into pi-preview1-androidx-dev
bf134220bd242d4228e78ddd849d2a92ae7dfe4d 08-Mar-2018 shepshapard <shepshapard@google.com> In RecyclerView.SmoothScroller, setting mRunning to false before
call to onStop.

Bug: 74357544
Test: RecyclerViewSmoothScrollerTest#stop_isRunningIsFalseInOnStop

Change-Id: I6bcaa35966e0120c36f5af547a5b540245395cb5
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
b589f94072e0e9aad422b387798ec4536da88d6a 23-Feb-2018 Jake Wharton <jakew@google.com> Add nullability and pixel annotations.

Bug: 67379950
Test: none
Change-Id: I6c1b70166b41683053d7c677b6a8ea7b710819d9
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
ac5fe7c617c66850fff75a9fce9979c6e5674b0f 06-Mar-2018 Aurimas Liutikas <aurimas@google.com> Refactor support library

Test: None
Change-Id: I92e450c739fc9d77e8f8840bed4165ab88247fd6
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
f27b1ffc67228d73326ec3426fef4c9db75cd6fd 06-Mar-2018 Aurimas Liutikas <aurimas@google.com> Revert "Refactor support library."

This reverts commit b31c3281d870e9abb673db239234d580dcc4feff.

Change-Id: Icfa5b9af633739ad2c857dff22a2181bac6661ef
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java
b31c3281d870e9abb673db239234d580dcc4feff 20-Feb-2018 Aurimas Liutikas <aurimas@google.com> Refactor support library.

Test: None
Change-Id: I11a047324832801555673dac45ec1d6590a6338b
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/RecyclerView.java