@Override
 protected void onDestroy() {
   super.onDestroy();
   if (mAlbumDataAdapter != null) {
     mAlbumDataAdapter.setLoadingListener(null);
   }
   mActionModeHandler.destroy();
 }
 private void initializeData(Bundle data) {
   mMediaSetPath = Path.fromString(data.getString(KEY_MEDIA_PATH));
   mParentMediaSetString = data.getString(KEY_PARENT_MEDIA_PATH);
   mMediaSet = mActivity.getDataManager().getMediaSet(mMediaSetPath);
   if (mMediaSet == null) {
     Utils.fail("MediaSet is null. Path = %s", mMediaSetPath);
   }
   mSelectionManager.setSourceMediaSet(mMediaSet);
   mAlbumDataAdapter = new AlbumDataLoader(mActivity, mMediaSet);
   mAlbumDataAdapter.setLoadingListener(new MyLoadingListener());
   mAlbumView.setModel(mAlbumDataAdapter);
 }