mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Revert "Extract out common adapter logic to support different Al..."
Revert "Fixing AdapterItem import" Revert submission 17044827-tm-dev-216150568 Reason for revert: Broke builds Bug: 223609269 Reverted Changes: I53eba3c8c:Fixing AdapterItem import I1068e75d0:Extract out common adapter logic to support differ... I24d8e54e8:Fix AdapterItem imports Change-Id: I931c666db7dcb2c8eef1894b56b59ed688218def
This commit is contained in:
@@ -18,7 +18,7 @@ package com.android.launcher3.allapps;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
|
||||
import com.android.launcher3.allapps.AllAppsGridAdapter.AdapterItem;
|
||||
import com.android.launcher3.config.FeatureFlags;
|
||||
import com.android.launcher3.model.data.AppInfo;
|
||||
import com.android.launcher3.util.ItemInfoMatcher;
|
||||
@@ -82,7 +82,7 @@ public class AlphabeticalAppsList<T extends Context & ActivityContext> implement
|
||||
|
||||
// The of ordered component names as a result of a search query
|
||||
private ArrayList<AdapterItem> mSearchResults;
|
||||
private BaseAllAppsAdapter<T> mAdapter;
|
||||
private AllAppsGridAdapter<T> mAdapter;
|
||||
private AppInfoComparator mAppNameComparator;
|
||||
private final int mNumAppsPerRow;
|
||||
private int mNumAppRowsInAdapter;
|
||||
@@ -106,7 +106,7 @@ public class AlphabeticalAppsList<T extends Context & ActivityContext> implement
|
||||
/**
|
||||
* Sets the adapter to notify when this dataset changes.
|
||||
*/
|
||||
public void setAdapter(BaseAllAppsAdapter<T> adapter) {
|
||||
public void setAdapter(AllAppsGridAdapter<T> adapter) {
|
||||
mAdapter = adapter;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user