Back to project page MediaPicker.
The source code is released under:
Apache License
If you think the Android project MediaPicker 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 com.urza.mediapicker; /*from w w w.j a v a 2s .co m*/ import android.net.Uri; /** * Created by urza on 16.7.2014. */ public class MediaFolder { String index; String dirName; int countOfContents; Uri thumbnailUri; int numOfSelectedItems; public MediaFolder(String index, int count) { this.index = index; this.countOfContents = count; } public MediaFolder(String index) { this.index = index; } public String getDirName() { return dirName; } public void setDirName(String dirName) { this.dirName = dirName; } public String getIndex() { return index; } public void setIndex(String index) { this.index = index; } public int getCountOfContents() { return countOfContents; } public void setCountOfContents(int countOfContents) { this.countOfContents = countOfContents; } public void incrementCountOfContents() { this.countOfContents = this.countOfContents + 1; } public Uri getThumbnail() { return thumbnailUri; } public void setThumbnail(Uri thumbnail) { this.thumbnailUri = thumbnail; } public int getNumOfSelectedItems() { return numOfSelectedItems; } public void setNumOfSelectedItems(int numOfSelectedItems) { this.numOfSelectedItems = numOfSelectedItems; } }