Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.