ui: attach to generators
This commit is contained in:
parent
4accfaafaf
commit
8e6b49c8ec
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()
|
||||
|
|
Loading…
Reference in a new issue