ui: attach to generators

This commit is contained in:
Alexander Capehart 2024-10-14 12:46:05 -06:00
parent 2bd468bce3
commit 3afbedb6bd
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
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()