OSDN Git Service

Synchronizing views dependent on scroll during pre-draw.
authorWinson Chung <winsonc@google.com>
Fri, 15 May 2015 19:03:37 +0000 (12:03 -0700)
committerWinson Chung <winsonc@google.com>
Tue, 19 May 2015 18:03:50 +0000 (18:03 +0000)
commit32f14071cc5808737c88da7b5f3047a8222f8843
tree914fb5980ece38553d4f945877a315e1a283ae4e
parent66a90e701ff6f7002fd3ed290ffc25d9c5ff3a9a
Synchronizing views dependent on scroll during pre-draw.

Instead of tracking the absolute scroll, which can be inconsistent,
simply synchronize any views that depend on the RecyclerView scroll
each time in onPreDraw.

Bug: 21169021
src/com/android/launcher3/AppsContainerRecyclerView.java
src/com/android/launcher3/AppsContainerView.java
src/com/android/launcher3/BaseContainerRecyclerView.java