z-huang / InnerTune

A Material 3 YouTube Music client for Android
GNU General Public License v3.0
4.73k stars 288 forks source link

Widgets support (uncompleted) #1577

Closed ruskcoder closed 1 day ago

ruskcoder commented 2 months ago

I have initialized two widgets named like the ones on YT Music. Right now, it can't do any actions, i have just initialized them and made it display a random image fetched from the internet as a placeholder template to fetch the thumbnail image later on.

But, I have run into quite a bit of issues. I have created the widget using Glance, a Jetpack Compose like widget system. But, the components are not backwards compatible, so I cannot use a Jetpack image with a Glance widget. And, since Glance is fairly new, many APIs have not been fully created yet, such as aspect ratio, crop shape, alignment, etc... I have needed them countless times, but they just don't exist.

Because of this, should I switch to using xml layout to build the widget? This can avoid many complications with the widget in the future.

SortingFarmer commented 6 days ago

Is this dropped is someone still working on it? (im not looking to take it over, just as info)