The method setRequiredSize(int) is undefined for the type ImageLoader #1

laurentdebricon opened this Issue Mar 17, 2012 · 1 comment

2 participants


Hello, in every exemple, you put :

ImageLoader imageLoader = new ImageLoader(context, R.drawable.placeholder);
imageLoader.setRequiredSize((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
75, context.getResources().getDisplayMetrics()));

but in the current SDK, i can't find the function setRequiredSize in ImageLoader .
Commenting this line makes my project build and run, but perhaps its desactivate a feature I don't get so far.


We have made changes to the loader and we have renamed the method to -> setDefaultImageSize(int size). all the examples will be updated accordingly asap.
Thank you for your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment