CircleImageView
CircleImageView copied to clipboard
onClick ripple effect issue
When i click on CircleImageView inside a recyclerView the ripple effect stucks and does not go away , can you help me to solve this problem?

my CircleImageView code
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/iv_cover"
android:layout_width="128dp"
android:layout_height="128dp"
android:layout_marginEnd="12dp"
android:layout_marginStart="4dp"
android:translationZ="@dimen/small_elevation"
android:background="@drawable/background_circle"
android:backgroundTint="?accentBackgroundColor"
android:foreground="?selectableItemBackgroundBorderless"
android:clickable="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:civ_border_width="1dp"
app:civ_border_color="?accentBackgroundColor"
android:focusable="true" />
<..../>
</androidx.constraintlayout.widget.ConstraintLayout>`
and i used Glide to load my image
Glide.with(itemView.context)
.load(item.imageUrl)
.into(ivCover)
i also tried to implement the code that mention in #153 and it did't work , when i just change <de.hdodenhof.circleimageview.CircleImageView to <ImageView everything works just fine.