Android Open Source - RoboBinding-album-sample Album Item 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;
/*w w  w  .j a  v a2 s .  com*/
import org.robobinding.albumsample.model.Album;
import org.robobinding.itempresentationmodel.ItemContext;
import org.robobinding.itempresentationmodel.ItemPresentationModel;

 * @author Robert Taylor
 * @since 1.0
public class AlbumItemPresentationModel implements ItemPresentationModel<Album> {
    protected Album album;

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

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

    public void updateData(Album bean, ItemContext itemContext) {
        this.album = bean;

Java Source Code List