-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove onTerminate in TilesApplication #403
Conversation
- it's not called on prod devices - the app container will be GC'd anyway because the app is being destroyed
/** | ||
* Provides a [TimelineBuilders.Timeline] which has only one entry. | ||
*/ | ||
internal fun singleEntryTimeline(rootLayout: LayoutElement): TimelineBuilders.Timeline { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
potential candidate for horologist-tiles?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we want informal Kotlin DSLs sprouting up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a DSL? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
& Do you mean in samples or Horologist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my mistake - I had the {}
in MessagesRenderer but forgot to update that one bit!
Thanks! |
singleEntryTimeline
to reduce boilerplate. Added new issue Create Tile showcasing multiple timeline entries #402 because we don't demo multiple entry timelines