Пример #1
0
 @Override
 public void onListsChanged() {
   // refresh list adapter
   mListsAdapter.onListsChanged();
   // update tabs
   mTabs.setViewPager(mPager);
 }
Пример #2
0
 @Override
 public void onListsChanged() {
   // refresh list adapter
   mListsAdapter.onListsChanged();
   // update indicator and view pager
   mTabs.notifyDataSetChanged();
 }
Пример #3
0
  @Override
  protected void onDestroy() {
    super.onDestroy();

    mListsAdapter.onCleanUp();
  }
Пример #4
0
 private void showListManageDialog(int selectedListIndex) {
   String listId = mListsAdapter.getListId(selectedListIndex);
   ListManageDialogFragment.show(listId, getSupportFragmentManager());
 }