The Kotlin Android Image Download with HttpUrlConnection development tutorial describes how to use HttpUrlConnection for downloading and displaying images.
In this Kotlin on Android episode we will cover:
- How to create an Http connection using the HttpUrlConnection library
- How to download an imput stream
- What happens when you do a network call on the UI thread
- Installing the Anko library
- How to use Anko coroutines
- Setting up weak references to activity objects