public void addItem(Album a){
synchronized (mAlbums) {
    mAlbums.add(a);
    sortListLocked();
  }
}

public void addItem ( Album a ) { synchronized ( mAlbums ) { mAlbums . add ( a ) ; sortListLocked ( ) ; } }
adds an album to the adapter
