@ItemPresentationModel(AlbumItemPresentationModel.class) public List<Album> getAlbums() { Log.d( ViewAlbumsPresentationModel.class.getSimpleName(), "in getAlbums():" + albumStore.getAll().size() + " albums"); return new ArrayList<Album>(albumStore.getAll()); }
private void viewAlbum(int selectedAlbumPosition) { Album album = albumStore.getByIndex(selectedAlbumPosition); view.viewAlbum(album.getId()); }