Do not show floating action buttons when reordering items

This commit is contained in:
vfsfitvnm
2022-10-06 18:01:48 +02:00
parent b30b282628
commit 5b47484a40
10 changed files with 142 additions and 120 deletions

View File

@@ -52,6 +52,9 @@ class ReorderingState(
internal var indexesToAnimate = mutableStateMapOf<Int, Animatable<Int, AnimationVector1D>>()
private var animatablesPool: AnimatablesPool<Int, AnimationVector1D>? = null
val isDragging: Boolean
get() = draggingIndex != -1
fun onDragStart(index: Int) {
overscrolled = 0
itemInfo = lazyListState.layoutInfo.visibleItemsInfo.find {