Add FavoritesScene

This commit is contained in:
seven332 committed 2016-03-02 22:41:35 +08:00
1 parent f402dd92b5
commit 35e48cb79b
32 files changed
+1730 -47

No files matched your search

@@ -18,6 +18,7 @@ package com.hippo.widget;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.view.View;
@@ -82,6 +83,9 @@ public class SearchBarMover extends RecyclerView.OnScrollListener {
show = true;
} else {
RecyclerView recyclerView = mHelper.getValidRecyclerView();
if (recyclerView == null) {
return;
}
if (!recyclerView.isShown()) {
show = true;
} else if (recyclerView.computeVerticalScrollOffset() < mSearchBar.getBottom()){
@@ -206,6 +210,7 @@ public class SearchBarMover extends RecyclerView.OnScrollListener {
boolean isValidView(RecyclerView recyclerView);
@Nullable
RecyclerView getValidRecyclerView();
boolean forceShowSearchBar();