public synchronized void update(String title, String url) { album.setAlbumTitle(title); if (foreground) { browserController.updateBookmarks(); browserController.updateInputBox(url); } }
@Override public synchronized void activate() { requestFocus(); foreground = true; album.activate(); }
@Override public synchronized void deactivate() { clearFocus(); foreground = false; album.deactivate(); }
@Override public void setAlbumTitle(String title) { album.setAlbumTitle(title); }
@Override public String getAlbumTitle() { return album.getAlbumTitle(); }
@Override public void setAlbumCover(Bitmap bitmap) { album.setAlbumCover(bitmap); }
@Override public View getAlbumView() { return album.getAlbumView(); }
private synchronized void initAlbum() { album.setAlbumCover(null); album.setAlbumTitle(context.getString(R.string.album_untitled)); album.setBrowserController(browserController); }