public synchronized FilmstripItem remove(int index){
  try {
    FilmstripItem removedItem=mList.remove(index);
    mUriMap.remove(removedItem);
    return removedItem;
  }
 catch (  IndexOutOfBoundsException ex) {
    Log.w(TAG,"Could not remove item. Not found: " + index,ex);
    return null;
  }
}

public synchronized FilmstripItem remove ( int index ) { try { FilmstripItem removedItem = mList . remove ( index ) ; mUriMap . remove ( removedItem ) ; return removedItem ; } catch ( IndexOutOfBoundsException ex ) { Log . w ( TAG , "Could not remove item. Not found: " + index , ex ) ; return null ; } }
removes the item at the given index .
