iPaulPro / Android-ItemTouchHelper-Demo

Basic example of using ItemTouchHelper to add drag & drop and swipe-to-dismiss to RecyclerView.
Apache License 2.0
2.51k stars 499 forks source link

How to resize the recyclerview layout with a header (grid) #50

Open XiaoyingLu opened 7 years ago

XiaoyingLu commented 7 years ago

Hi, I'm really struggled to figure out how can I fix the recyclerview layout after moving. My recyclerview adapter has a head view at the position zero which is full spanned. While my grid has 3 columns. How can I resize the head view and the other item after being moved. Thanks for your help!