diff options
Diffstat (limited to 'src/de/danoeh/antennapod/asynctask/CachedBitmap.java')
-rw-r--r-- | src/de/danoeh/antennapod/asynctask/CachedBitmap.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/asynctask/CachedBitmap.java b/src/de/danoeh/antennapod/asynctask/CachedBitmap.java new file mode 100644 index 000000000..5a89b7b53 --- /dev/null +++ b/src/de/danoeh/antennapod/asynctask/CachedBitmap.java @@ -0,0 +1,27 @@ +package de.danoeh.antennapod.asynctask; + +import android.graphics.Bitmap; + +/** Stores a bitmap and the length it was decoded with. */ +public class CachedBitmap { + + private Bitmap bitmap; + private int length; + + public CachedBitmap(Bitmap bitmap, int length) { + super(); + this.bitmap = bitmap; + this.length = length; + } + + public Bitmap getBitmap() { + return bitmap; + } + public int getLength() { + return length; + } + + + + +} |