Replace OnGlobalLayoutListener with StateListener to update predictions
Previously we were using OnGlobalLayoutListener, which is only called when AllAppsContainerView or a child is re-laid out or visibility changes to or from GONE. Since we no longer relayout when already scrolled to the top, we need a better hook to check whether all apps has changed visibility for the purpose of updating predictions. Bug: 140823188 Change-Id: I7c4a0d94c529eb86b55729c75843c8b0bd673d8c
Loading
Please register or sign in to comment