mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev
This commit is contained in:
@@ -131,7 +131,6 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
|
||||
private ScrimView mScrimView;
|
||||
private int mHeaderColor;
|
||||
|
||||
|
||||
public AllAppsContainerView(Context context) {
|
||||
this(context, null);
|
||||
}
|
||||
@@ -571,6 +570,10 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
|
||||
return mViewPager == null ? getActiveRecyclerView() : mViewPager;
|
||||
}
|
||||
|
||||
public int getCurrentPage() {
|
||||
return mViewPager != null ? mViewPager.getCurrentPage() : AdapterHolder.MAIN;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles selection on focused view and returns success
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user