summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/asynctask/CachedBitmap.java
blob: 5a89b7b53c42d817ba14f9858a2d04063317d9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
	}
	
	
	
	
}