ui: attach to generators

This commit is contained in:
Alexander Capehart
2024-10-14 12:46:05 -06:00
parent 2bd468bce3
commit 3afbedb6bd
2 changed files with 8 additions and 0 deletions
@@ -197,6 +197,10 @@ constructor(
private val detailGenerator = detailGeneratorFactory.create(this)
init {
detailGenerator.attach()
}
override fun onCleared() {
detailGenerator.release()
}
@@ -163,6 +163,10 @@ constructor(
val showOuter: Event<Outer>
get() = _showOuter
init {
homeGenerator.attach()
}
override fun onCleared() {
super.onCleared()
homeGenerator.release()