Timeline: fix crash on mutable iterator
This commit is contained in:
parent
61373b8b51
commit
109a9e816b
|
@ -90,6 +90,8 @@ class TimelineControllerInterceptorHelper(private val positionOfReadMarker: KMut
|
||||||
it.setOnVisibilityStateChanged(ReadMarkerVisibilityStateChangedListener(callback))
|
it.setOnVisibilityStateChanged(ReadMarkerVisibilityStateChangedListener(callback))
|
||||||
}
|
}
|
||||||
add(readMarker)
|
add(readMarker)
|
||||||
|
// Use next as we still have some process to do before the next iterator loop
|
||||||
|
next()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun MutableListIterator<EpoxyModel<*>>.removeCallItemIfNeeded(
|
private fun MutableListIterator<EpoxyModel<*>>.removeCallItemIfNeeded(
|
||||||
|
|
Loading…
Reference in New Issue