Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CircularProgressDrawable not working #136

Open
zihadrizkyef opened this issue Nov 22, 2021 · 0 comments
Open

CircularProgressDrawable not working #136

zihadrizkyef opened this issue Nov 22, 2021 · 0 comments

Comments

@zihadrizkyef
Copy link

Hi, your library help me so much, but with your library, i can't implement this code

implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"

  val circularProgressDrawable = CircularProgressDrawable(this)
  circularProgressDrawable.strokeWidth = 5f
  circularProgressDrawable.centerRadius = 30f
  circularProgressDrawable.start()

  GlideApp.with(applicationContext)
      .load("https://raw.githubusercontent.com/bumptech/glide/master/static/glide_logo.png")
      .placeholder(circularProgressDrawable)
      .into(a_main_image)

But if i change the view to regular ImageView or AppCompatImageView, those code is work
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant