问题
I am developing an application for Android which is a RecyclerView containing LinearLayout through a list of custom items. How can you order these items using drag and drop?
回答1:
Now it's very easy in Android. No need to use any third party libraries. Android now supports RecycleView drag and drop out of the box, please use the below link for details:
Medium | Drag and Swipe with RecyclerView
来源:https://stackoverflow.com/questions/30300356/order-elements-of-a-recyclerview-via-drag-and-drop