private void updatePlayingAlbum(String albumRef){
  View view=mAlbumToViewMap.get(albumRef);
  ImageView ivPlayAlbum;
  if (mPreviousAlbumGroup != null) {
    ivPlayAlbum=(ImageView)mPreviousAlbumGroup.findViewById(R.id.ivPlayAlbum);
    PlayPauseDrawable drawable=(PlayPauseDrawable)ivPlayAlbum.getDrawable();
    drawable.setShape(PlayPauseDrawable.SHAPE_PLAY);
  }
  if (view != null) {
    ivPlayAlbum=(ImageView)view.findViewById(R.id.ivPlayAlbum);
    PlayPauseDrawable drawable=(PlayPauseDrawable)ivPlayAlbum.getDrawable();
    drawable.setShape(PlayPauseDrawable.SHAPE_STOP);
  }
  mPreviousAlbumGroup=view;
}

private void updatePlayingAlbum ( String albumRef ) { View view = mAlbumToViewMap . get ( albumRef ) ; ImageView ivPlayAlbum ; if ( mPreviousAlbumGroup != null ) { ivPlayAlbum = ( ImageView ) mPreviousAlbumGroup . findViewById ( R . id . ivPlayAlbum ) ; PlayPauseDrawable drawable = ( PlayPauseDrawable ) ivPlayAlbum . getDrawable ( ) ; drawable . setShape ( PlayPauseDrawable . SHAPE_PLAY ) ; } if ( view != null ) { ivPlayAlbum = ( ImageView ) view . findViewById ( R . id . ivPlayAlbum ) ; PlayPauseDrawable drawable = ( PlayPauseDrawable ) ivPlayAlbum . getDrawable ( ) ; drawable . setShape ( PlayPauseDrawable . SHAPE_STOP ) ; } mPreviousAlbumGroup = view ; }
updates the current playing album
