Closed laiyichin closed 2 months ago
Why is this not just based on whether media model and title is set?
Adding this state allows to accommodate use cases when media apps do not provide metadata (e.g. a player playing in incognito mode in chrome), there could be a fallback string for title instead of a loading pill.
Abandoning this PR in favour of making MediaUiModel
a sealed class with a Loading
object. https://github.com/google/horologist/pull/2179
WHAT
Add an optional field to denote if the title should show with placeholder.
WHY
In addition to the player state, give the client an option to show the placeholder pill in place of title when title is not known yet.
HOW
Checklist :clipboard: