Back to project page android-data-persistence.
The source code is released under:
MIT License
If you think the Android project android-data-persistence 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.teamtreehouse.mememaker.models; /*from ww w . j ava 2s. co m*/ import android.graphics.Bitmap; import android.graphics.BitmapFactory; /** * Created by Evan Anger on 7/28/14. */ public class ImageItem { private Bitmap mBitmap; private String mText; public ImageItem(String filePath, String text) { mBitmap = BitmapFactory.decodeFile(filePath); mText = text; } public Bitmap getBitmap() { return mBitmap; } public String getText() { return mText; } }