Closed fsalbrechter closed 10 years ago
How do I actually define this image to be loaded as a local drawable? The custom array adapter class does it like this
thumbNail.setImageUrl("http://www.classicposters.com/images/nopicture.gif", imageLoader);
Can I just do @drawable[...] instead of the url?
Use: http://developer.android.com/reference/android/widget/ImageView.html#setImageResource(int)
Actually this object is not an ImageView but a NetworkImageView. It is a class that extends ImageView and adds some cool stuff like loading an image asynchronous from the web and displaying it when it finished loading. (setImageUrl) see https://android.googlesource.com/platform/frameworks/volley/+/master/src/com/android/volley/toolbox/NetworkImageView.java
You should be able to treat it like an ImageView though, I just wanted to give you some more information.
This is done right?