mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Extracting search algorithm in an interface to make it easier to change the search behavior
Change-Id: I0b1d1387c78d13ef749aac39d5c8167c2909716a
This commit is contained in:
@@ -118,8 +118,8 @@ public class AppsSearchContainerLayout extends FrameLayout
|
||||
mAppsRecyclerView = recyclerView;
|
||||
mAppsRecyclerView.addOnScrollListener(mElevationController);
|
||||
mAdapter = (AllAppsGridAdapter) mAppsRecyclerView.getAdapter();
|
||||
|
||||
mSearchBarController.initialize(appsList, mSearchInput, mLauncher, this);
|
||||
mSearchBarController.initialize(
|
||||
new DefaultAppSearchAlgorithm(appsList.getApps()), mSearchInput, mLauncher, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user