Add the libraries to the gradle dependencies and add the Internet permission on the Manifest.
2. Setting up the Layout
Add an ImageView to your main layout and add an id reference to it.
3. Using the library
Copy/paste the snippet below into the
MainActivity.kt file, ideally each class/interface would all have their own file,
but we'll keep it in the same one for now to keep it simple.
See more advanced image loading with Glide examples.