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.
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(); } @Override public void updateData(Album bean, ItemContext itemContext) { this.album = bean; } }