Android Open Source - android Gallery Item






From Project

Back to project page android.

License

The source code is released under:

MIT License

If you think the Android project android 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 me.rdokollari.photogallery;
//from w w w.j  av  a2  s  .com
/**
 * Model Object for each photo
 * 
 * @author Rizart Dokollari @ rdokollari.me
 * 
 */
public class GalleryItem {
  private String mId;
  private String mCaption;
  private String mUrl;

  public GalleryItem(String id, String caption, String smallUrl) {
    setmId(id);
    setmCaption(caption);
    setmUrl(smallUrl);
  }

  public String toString() {
    return mCaption;
  }

  public String getmCaption() {
    return mCaption;
  }

  public void setmCaption(String mCaption) {
    this.mCaption = mCaption;
  }

  public String getmId() {
    return mId;
  }

  public void setmId(String mId) {
    this.mId = mId;
  }

  public String getmUrl() {
    return mUrl;
  }

  public void setmUrl(String mUrl) {
    this.mUrl = mUrl;
  }

}




Java Source Code List

me.rdokollari.funququiz.QuoteActivity.java
me.rdokollari.funququiz.Quote.java
me.rdokollari.photogallery.FlickrFetchr.java
me.rdokollari.photogallery.GalleryItem.java
me.rdokollari.photogallery.PhotoGalleryActivity.java
me.rdokollari.photogallery.PhotoGalleryFragment.java
me.rdokollari.photogallery.SingleFragmentActivity.java