Merge "Tweaking method name." into ub-launcher3-burnaby
This commit is contained in:
@@ -209,8 +209,8 @@ public class AlphabeticalAppsList {
|
|||||||
/**
|
/**
|
||||||
* Sets the apps updated callback.
|
* Sets the apps updated callback.
|
||||||
*/
|
*/
|
||||||
public void setAppsUpdatedCallback(AdapterChangedCallback auCb) {
|
public void setAdapterChangedCallback(AdapterChangedCallback cb) {
|
||||||
mAdapterChangedCallback = auCb;
|
mAdapterChangedCallback = cb;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ public class AppsContainerView extends BaseContainerView implements DragSource,
|
|||||||
mNumAppsPerRow = grid.appsViewNumCols;
|
mNumAppsPerRow = grid.appsViewNumCols;
|
||||||
mNumPredictedAppsPerRow = grid.appsViewNumPredictiveCols;
|
mNumPredictedAppsPerRow = grid.appsViewNumPredictiveCols;
|
||||||
mApps = new AlphabeticalAppsList(context, mNumAppsPerRow, mNumPredictedAppsPerRow);
|
mApps = new AlphabeticalAppsList(context, mNumAppsPerRow, mNumPredictedAppsPerRow);
|
||||||
mApps.setAppsUpdatedCallback(this);
|
mApps.setAdapterChangedCallback(this);
|
||||||
mAdapter = new AppsGridAdapter(context, mApps, mNumAppsPerRow, this, this, mLauncher, this);
|
mAdapter = new AppsGridAdapter(context, mApps, mNumAppsPerRow, this, this, mLauncher, this);
|
||||||
mAdapter.setEmptySearchText(res.getString(R.string.loading_apps_message));
|
mAdapter.setEmptySearchText(res.getString(R.string.loading_apps_message));
|
||||||
mAdapter.setNumAppsPerRow(mNumAppsPerRow);
|
mAdapter.setNumAppsPerRow(mNumAppsPerRow);
|
||||||
|
|||||||
Reference in New Issue
Block a user