Created
October 2, 2018 12:04
-
-
Save EmmanuelGuther/3284883e6aa8a368efa91e597acab51d to your computer and use it in GitHub Desktop.
Glide placeholder example kotlin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fun example(){ | |
| Glide.with(context) | |
| .load(items[position]) | |
| .apply(RequestOptions() | |
| .placeholder(R.drawable.animated_loading_icon) | |
| ) | |
| .into(holder.imageView) | |
| } | |
| //https://bumptech.github.io/glide/doc/options.html#generated-api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment