Timeline: use val instead of fun for flows
This commit is contained in:
+2
-2
@@ -27,8 +27,8 @@ interface MatrixTimeline {
|
||||
val canBackPaginate: Boolean
|
||||
)
|
||||
|
||||
fun paginationState(): StateFlow<PaginationState>
|
||||
fun timelineItems(): Flow<List<MatrixTimelineItem>>
|
||||
val paginationState: StateFlow<PaginationState>
|
||||
val timelineItems: Flow<List<MatrixTimelineItem>>
|
||||
|
||||
suspend fun paginateBackwards(requestSize: Int, untilNumberOfItems: Int): Result<Unit>
|
||||
suspend fun fetchDetailsForEvent(eventId: EventId): Result<Unit>
|
||||
|
||||
Reference in New Issue
Block a user