timeline : improve jumpTo precision (introducing animateScrollToItemCenter)
This commit is contained in:
parent
88e01e7c2e
commit
adc03c9676
14 changed files with 102 additions and 86 deletions
|
|
@ -16,7 +16,6 @@ import io.element.android.libraries.matrix.api.timeline.item.virtual.VirtualTime
|
|||
* This post processor is responsible for adding a typing notification item to the timeline items when the timeline is in live mode.
|
||||
*/
|
||||
class TypingNotificationPostProcessor(private val mode: Timeline.Mode) {
|
||||
|
||||
fun process(items: List<MatrixTimelineItem>): List<MatrixTimelineItem> {
|
||||
return if (mode == Timeline.Mode.LIVE) {
|
||||
buildList {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue