Add a View to show the beginning of the timeline (parity with iOS)
This commit is contained in:
parent
5209627f67
commit
2cb0060f96
33 changed files with 156 additions and 28 deletions
|
|
@ -29,7 +29,11 @@ import kotlinx.coroutines.flow.getAndUpdate
|
|||
|
||||
class FakeMatrixTimeline(
|
||||
initialTimelineItems: List<MatrixTimelineItem> = emptyList(),
|
||||
initialPaginationState: MatrixTimeline.PaginationState = MatrixTimeline.PaginationState(hasMoreToLoadBackwards = true, isBackPaginating = false)
|
||||
initialPaginationState: MatrixTimeline.PaginationState = MatrixTimeline.PaginationState(
|
||||
hasMoreToLoadBackwards = true,
|
||||
isBackPaginating = false,
|
||||
beginningOfRoomReached = false,
|
||||
)
|
||||
) : MatrixTimeline {
|
||||
|
||||
private val _paginationState: MutableStateFlow<MatrixTimeline.PaginationState> = MutableStateFlow(initialPaginationState)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue