-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitmaps from sdcard #23
Comments
Unfortunately I can't tell you what's wrong. You should just debug and find Also if you have images on SD you don't need to cache them to SD once 2012/10/22 kormateusz notifications@github.com
|
@kormateusz @thest1 Yeah its working correctly as per @kormateusz change.Nothing need to change,its enough to load the image from sdcard. May be problem in adapter getview method,@kormateusz need to debug. |
Hi, I was trying to change this code to show bitmaps from sdcard instead of the internet. I've changed this part of the code:
private Bitmap getBitmap(String url)
{
File f=fileCache.getFile(url);
to this:
private Bitmap getBitmap(String url)
{
File f=fileCache.getFile(url);
And I've used my ArrayAdapter:
public class AdapterFiles extends ArrayAdapter{
private int resource;
…
private String item;
private ViewHolder viewHolder;
…
public ImageLoader imageLoader;
}
And now, I have two problems..
The text was updated successfully, but these errors were encountered: