Category : drag-and-drop

I’m trying that when I do drag and drop in my Recycler View, when the element reaches the bottom of the screen, it scrolls the parent’s NestedScrollView, but I can’t find any information about it, this is my XML: <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_behavior="@string/appbar_scrolling_view_behavior"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/container__top_bar" android:layout_width="@dimen/dp0" android:layout_height="@dimen/dp50" android:background="@color/colorPrimary" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <TextView ..

Read more

I want know how to perform a drag and drop on android based in X, Y coordinates? consider as one simple example, the android phone icon drag and drop (Virtual mouse is being implemented.) i’m now "GestureDescription StrokeDescription()" is being used. ( code : GestureDescription.StrokeDescription(path, 0, 1, true) ) I want to know how to ..

Read more