chiuki/android-swipe-image-viewer

How can i use Glide library to load remote images?

BhoomiKhan opened this issue · 1 comments

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.

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