use of com.clear.adapters.AdapterHistory in project AndroidCleaner by ReguloSarmiento.
the class HistoryActivity method informacionParaListview.
public void informacionParaListview() {
items.add(new SectionItem(getResources().getString(R.string.browser)));
items.add(new EntryItem(getResources().getString(R.string.browser), String.valueOf(numeroPaginasVisitadas()) + " Pag", R.drawable.browser));
items.add(new SectionItem(getResources().getString(R.string.download)));
items.add(new EntryItem(getResources().getString(R.string.download), espacioDescargas(), R.drawable.downloads));
items.add(new EntryItem(getResources().getString(R.string.files), espacioArchivos(), R.drawable.list_icon_media_files));
items.add(new SectionItem(getResources().getString(R.string.aplicacion)));
items.add(new EntryItem(getResources().getString(R.string.clipboard), tamanoPortapapeles(), R.drawable.clipboard));
adapter = new AdapterHistory(this, items);
listview.setAdapter(adapter);
listview.setOnItemClickListener(this);
}
Aggregations