Rework app hiding

This commit is contained in:
Suphon Thanakornpakapong committed 2021-06-03 13:25:44 +07:00
1 parent ccabad89e8
commit 18f31c67b9
8 files changed
+116 -61

No files matched your search

@@ -71,6 +71,8 @@ import com.android.launcher3.views.SpringRelativeLayout;
import java.util.ArrayList;
import app.lawnchair.allapps.LawnchairAlphabeticalAppsList;
/**
* The all apps view container.
*/
@@ -632,7 +634,7 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
AdapterHolder(boolean isWork) {
mIsWork = isWork;
appsList = new AlphabeticalAppsList(mLauncher, mAllAppsStore, isWork);
appsList = new LawnchairAlphabeticalAppsList(mLauncher, mAllAppsStore, isWork);
adapter = new AllAppsGridAdapter(mLauncher, getLayoutInflater(), appsList);
appsList.setAdapter(adapter);
layoutManager = adapter.getLayoutManager();