Skip to content
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

Merged
merged 5 commits into from
Jun 8, 2022
Merged

Conversation

ataulm
Copy link
Contributor

@ataulm ataulm commented Jun 8, 2022

Ataul Munim added 3 commits June 8, 2022 13:45
- it's not called on prod devices
- the app container will be GC'd anyway because the app is being destroyed
@ataulm ataulm requested a review from yschimke June 8, 2022 13:02
/**
* Provides a [TimelineBuilders.Timeline] which has only one entry.
*/
internal fun singleEntryTimeline(rootLayout: LayoutElement): TimelineBuilders.Timeline {
Copy link
Contributor Author

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?

Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a DSL? 🤔

Copy link
Contributor Author

@ataulm ataulm Jun 8, 2022

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?

Copy link
Contributor Author

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!

@ataulm ataulm marked this pull request as ready for review June 8, 2022 13:03
@yschimke
Copy link
Contributor

yschimke commented Jun 8, 2022

Thanks!

@ataulm ataulm merged commit 87bcca5 into main Jun 8, 2022
@ataulm ataulm deleted the ataulm/tiles-kotlin-cleanup branch June 8, 2022 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove TilesApplication.onTerminate
2 participants