A
A
antihrust2021-08-06 19:26:08
Java
antihrust, 2021-08-06 19:26:08

How to implement scroll during selected item in recyclerview?

How to autoscroll when item is selected in recycler view?610d628dc05ef257871999.jpeg

dishLayout.setOnLongClickListener {
                it.startDrag(
                    ClipData.newPlainText("dishUid", orderItem.uid),
                    DragnDropShadowBuilder(it, 1f),
                    null,
                    0
                )
            }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2021-08-06
@antihrust

layoutManager scrollToPosition, smoothScrollToPosition

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question