Android Open Source - RoboBinding-album-sample Delete Album Presentation Model

From Project

Back to project page RoboBinding-album-sample.


The source code is released under:

Apache License

If you think the Android project RoboBinding-album-sample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.robobinding.albumsample.presentationmodel;
/*ww  w. j a v  a2  s  . c  o m*/
import org.robobinding.albumsample.model.Album;
import org.robobinding.annotation.PresentationModel;

 * @author Robert Taylor
 * @version $Revision: 1.0 $
 * @since 1.0
public class DeleteAlbumPresentationModel {
    private final DeleteAlbumView view;
    private final AlbumStore albumStore;
    private final Album album;

    public DeleteAlbumPresentationModel(DeleteAlbumView view, AlbumStore albumStore, Album album) {
        this.view = view;
        this.albumStore = albumStore;
        this.album = album;

    public void deleteAlbum() {

    public void dismissDialog() {

    public String getAlbumTitle() {
        return album.getTitle();

    public String getAlbumArtist() {
        return album.getArtist();

Java Source Code List