devunwired / recyclerview-playground

Examples of RecyclerView use and custom LayoutManager implementations
MIT License
1.24k stars 269 forks source link

Bug: GridDividerDecoration cannot handle rows of different heights #21

Closed AndroidDeveloperLB closed 9 years ago

AndroidDeveloperLB commented 9 years ago

steps to reproduce:

  1. add this line in onBindViewHolder of SimpleAdapter :

    layoutParams.height=position<4?100:200;
  2. run app.
  3. switch to vertical grid .
  4. scroll down and up.

This is what you get:

device-2015-11-22-015723

How can I solve this?

devunwired commented 9 years ago

Feature added in commit c5a04821f06c38ae796dcfd2ba370098320f5058

AndroidDeveloperLB commented 9 years ago

@devunwired Nice. Thank you !