Use recommended alternatives for image rounding
mainNote: RoundedImageView is archived and no longer actively maintained.
For modern Android development, the following alternatives are recommended:
- For Bitmaps bundled in your APK: Use
androidx.core.graphics.drawable.RoundedBitmapDrawable. It is more efficient and decouples the Drawable from the ImageView. - For images loaded from network or disk: Use transformation libraries compatible with your image loader:
- Glide: Use wasabeef/glide-transformations.
- Picasso: Use wasabeef/picasso-transformations.
- For Vector Drawables: Modify the vector or drawable directly to include rounding for optimal performance.
Avoid using RoundedImageView with Glide transforms, as they are not supported.