mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Room directory : fix pagination and add empty state.
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@ package io.element.android.libraries.matrix.api.roomdirectory
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
|
||||
interface RoomDirectoryList {
|
||||
suspend fun filter(filter: String?, batchSize: Int)
|
||||
suspend fun loadMore()
|
||||
suspend fun filter(filter: String?, batchSize: Int): Result<Unit>
|
||||
suspend fun loadMore(): Result<Unit>
|
||||
suspend fun hasMoreToLoad(): Boolean
|
||||
val items: Flow<List<RoomDescription>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user