bumptech / glide

An image loading and caching library for Android focused on smooth scrolling
https://bumptech.github.io/glide/
Other
34.61k stars 6.12k forks source link

Feature Request: Direct Support for Car App Library Templates #5443

Open Anth06ny opened 1 month ago

Anth06ny commented 1 month ago

Hello Glide team,

I’m currently developing an Android Automotive app using the Android Car App Library, and I frequently need to load images into Row templates from URLs. Currently, the process involves downloading the image as a Bitmap and then converting it to a CarIcon using IconCompat.createWithBitmap() before setting it in a Row.

It would be incredibly useful if Glide could directly support setting images in Row templates, perhaps through a method that returns a CarIcon or integrates seamlessly with the Android Car App Library's components.

Would it be possible to add native support in Glide for loading images directly into Car App Library templates, eliminating the need for intermediate steps like handling Bitmap conversions manually?

Thank you for considering this feature request. I believe it would greatly simplify the development process for those of us working on automotive applications.

Best regards, Anthony