Skip to content

Instantly share code, notes, and snippets.

@Qkyyy

Qkyyy/Adapter.kt Secret

Last active November 26, 2021 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Qkyyy/e2c379a1d32329fd13627fafe4cca45f to your computer and use it in GitHub Desktop.
Save Qkyyy/e2c379a1d32329fd13627fafe4cca45f to your computer and use it in GitHub Desktop.
val progress = CircularProgressDrawable(binding.constraintLayout.context).apply {
strokeWidth = 5f
centerRadius = 25f
}
progress.start()
Glide.with(binding.constraintLayout.context)
.load(byteArray)
.placeholder(progress)
.into(thumbnail)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment