I use a ExpandableDraggableItemAdapter to create a Recyclerview to be able to drag and expand group item on my main view. It works fine. But i put this expandableDraggable Recyclerview into another normal Recyclerview. The normal Recyclerview adapter is to extend RecyclerView.Adapter. Then my expandableDraggable recyclerview can not drag anymore, only can expand. The reason i need to use normal recyclerview to grab expandableDraggable recyclerview is that i have another DraggableItemAdapter recyclerview is on the bottom of expandableDraggable recycleview. both two need to swap position flexibly. Can anyone give me a hint or tips there is possible to use expandableDraggable advanced recyclerview inside another recyclerview?
I use a ExpandableDraggableItemAdapter to create a Recyclerview to be able to drag and expand group item on my main view. It works fine. But i put this expandableDraggable Recyclerview into another normal Recyclerview. The normal Recyclerview adapter is to extend RecyclerView.Adapter. Then my expandableDraggable recyclerview can not drag anymore, only can expand. The reason i need to use normal recyclerview to grab expandableDraggable recyclerview is that i have another DraggableItemAdapter recyclerview is on the bottom of expandableDraggable recycleview. both two need to swap position flexibly. Can anyone give me a hint or tips there is possible to use expandableDraggable advanced recyclerview inside another recyclerview?
main_layout.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical">
normal_recycler_item.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content">