use of com.yzy.supercleanmaster.adapter.RublishMemoryAdapter in project superCleanMaster by joyoyao.
the class RubbishCleanActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_rublish_clean);
getActionBar().setDisplayHomeAsUpEnabled(true);
// applyKitKatTranslucency();
// StikkyHeaderBuilder.stickTo(mListView).setHeader(header)
// .minHeightHeaderPixel(0).build();
res = getResources();
int footerHeight = mContext.getResources().getDimensionPixelSize(R.dimen.footer_height);
mListView.setEmptyView(mEmptyView);
rublishMemoryAdapter = new RublishMemoryAdapter(mContext, mCacheListItem);
mListView.setAdapter(rublishMemoryAdapter);
mListView.setOnItemClickListener(rublishMemoryAdapter);
mListView.setOnScrollListener(new QuickReturnListViewOnScrollListener(QuickReturnType.FOOTER, null, 0, bottom_lin, footerHeight));
bindService(new Intent(mContext, CleanerService.class), mServiceConnection, Context.BIND_AUTO_CREATE);
}
Aggregations