public void destroy(){
  for (  EnhancedBookmarkUIObserver observer : mUIObservers) {
    observer.onDestroy();
  }
  assert mUIObservers.size() == 0;
  if (mUndoController != null) {
    mUndoController.destroy();
    mUndoController=null;
  }
  mEnhancedBookmarksModel.removeObserver(mBookmarkModelObserver);
  mEnhancedBookmarksModel.destroy();
  mEnhancedBookmarksModel=null;
  mLargeIconBridge.destroy();
  mLargeIconBridge=null;
}

public void destroy ( ) { for ( EnhancedBookmarkUIObserver observer : mUIObservers ) { observer . onDestroy ( ) ; } assert mUIObservers . size ( ) == 0 ; if ( mUndoController != null ) { mUndoController . destroy ( ) ; mUndoController = null ; } mEnhancedBookmarksModel . removeObserver ( mBookmarkModelObserver ) ; mEnhancedBookmarksModel . destroy ( ) ; mEnhancedBookmarksModel = null ; mLargeIconBridge . destroy ( ) ; mLargeIconBridge = null ; }
destroys and cleans up itself . this must be called after done using this class .
