Among Android open sources, there is an open source called Picasso. https://github.com/square/picasso This library helps you load images easily and simply. It's very simple to use.
in build.gradle
compile 'com.squareup.picasso:picasso:2.5.2'
Please add
Picasso.with(Context).load(Path,Uri,Resource id).placeholder(Path,Uri,Resource id).into(**ImageView) You can do it like this. In load, you can give the resource ID, file path, or uri Placeholder is an option, which allows you to display other images while loading the image.
© 2024 OneMinuteCode. All rights reserved.