ui: attach to generators

This commit is contained in:
Alexander Capehart 2024-09-18 15:31:39 -06:00
parent 4accfaafaf
commit 8e6b49c8ec
2 changed files with 8 additions and 0 deletions

View file

@ -197,6 +197,10 @@ constructor(
private val detailGenerator = detailGeneratorFactory.create(this)
init {
detailGenerator.attach()
}
override fun onCleared() {
detailGenerator.release()
}

View file

@ -163,6 +163,10 @@ constructor(
val showOuter: Event<Outer>
get() = _showOuter
init {
homeGenerator.attach()
}
override fun onCleared() {
super.onCleared()
homeGenerator.release()