コード例 #1
0
 public void onTaskLoadingCancelled(boolean refreshView) {
   // Gets called by RecentTasksLoader when it's cancelled
   if (mRecentTaskDescriptions != null) {
     mRecentTaskDescriptions = null;
     if (refreshView) mListAdapter.notifyDataSetInvalidated();
   }
 }
コード例 #2
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();
 }