Exemplo n.º 1
0
 public void refreshViews() {
   if (DEBUG) Log.d(TAG, "refreshViews count =" + mListAdapter.getCount());
   mListAdapter.notifyDataSetInvalidated();
   updateUiElements();
   /* YUNOS BEGIN */
   // ##modules(systemui recents)
   // ##date:2013-11-19 ##author:[email protected]
   updateRecentTaskCount();
   // updateMemInfo();
   /* YUNOS END */
   showIfReady();
 }
Exemplo n.º 2
0
 public void updateRecentTaskCount() {
   TextView view = (TextView) findViewById(R.id.recent_task_num);
   if (view != null) {
     view.setText(String.valueOf(mListAdapter.getCount()));
   }
 }