Fix invalid expand status on tab switch
Change-Id: I8db822d61b93b0b6f12ecbe4c7270f42c204caa5
This commit is contained in:
parent
0aee3cf68c
commit
3bfae2a28b
|
@ -297,7 +297,9 @@ class RoomListFragment @Inject constructor(
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
concatAdapter.addAdapter(sectionAdapter)
|
concatAdapter.addAdapter(sectionAdapter)
|
||||||
concatAdapter.addAdapter(contentAdapter.adapter)
|
if (section.isExpanded.value.orTrue()) {
|
||||||
|
concatAdapter.addAdapter(contentAdapter.adapter)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the footer controller
|
// Add the footer controller
|
||||||
|
|
Loading…
Reference in New Issue