Use LifecycleOwner instead of explicit Node on presenterConnector
This commit is contained in:
parent
eeebb99292
commit
a37cf3adde
2 changed files with 6 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ class RoomListNode @AssistedInject constructor(
|
|||
fun onRoomClicked(roomId: RoomId)
|
||||
}
|
||||
|
||||
private val connector = presenterConnector(presenter)
|
||||
private val connector by presenterConnector(presenter)
|
||||
|
||||
private fun updateFilter(filter: String) {
|
||||
connector.emitEvent(RoomListEvents.UpdateFilter(filter))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue