コード例 #1
0
 public void onBookListChanged() {
   mBarTabManager.switchTab(tab_collection);
   CollectionFragment frag = (CollectionFragment) tab_collection.getFragment();
   if (frag != null) frag.refreshBookList();
 }
コード例 #2
0
 @Override
 public void confirmDelete(int id) {
   CollectionFragment frag = (CollectionFragment) tab_collection.getFragment();
   if (frag != null) frag.deleteBook(id);
 }