ui: attach to generators
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user