![]() ![]() Now, just pass the image URL in your intent and use the UIL to load the image. ![]() ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(getApplicationContext()) You can configure it to then cache the image to disk: DisplayImageOptions defaultOptions = new DisplayImageOptions.Builder() Instead of passing a bitmap around (which I presume you downloaded from the network, otherwise, you would already have a file reference to it), I recommend using an image loader such as Universal Image Loader to download an image into an ImageView. ![]() I would like to also post a best practices answer for those looking to do this (but may be asking the wrong question). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |