Skip to content
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

How can i use Glide library to load remote images? #6

Open
BhoomiKhan opened this issue Dec 28, 2020 · 1 comment
Open

How can i use Glide library to load remote images? #6

BhoomiKhan opened this issue Dec 28, 2020 · 1 comment

Comments

@BhoomiKhan
Copy link

Your project helped me a lot, i just want to know the way to use glide library to load remote images from server. I'm using PhotoView library for zooming feature.

@Snoeprol
Copy link

add in build.gradle dependencies: implementation 'com.github.bumptech.glide:glide:4.11.0'

Then

Glide.with(picture_view.getContext())
                        .load("<your_remote_link>")
                        .into(picture_view);

Where picture_view is an image_view element in your XML file.

@BhoomiKhan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants