timehop / sticky-headers-recyclerview

[UNMAINTAINED] Sticky Headers decorator for Android's RecyclerView
Apache License 2.0
3.74k stars 755 forks source link

Bug on sample: weird animation when clicking on items and false-telling of clicking on header #77

Open AndroidDeveloperLB opened 9 years ago

AndroidDeveloperLB commented 9 years ago

Steps:

  1. scroll down so that you can see both "B" section and "C" section, so that "C" section will be at the middle.
  2. click on any item above "C"

The bug: the item changes its text and then animates below "C". Even worse: if you remove enough items, and you click on an item above "C" section, it thinks you've clicked on a header.

Here's an animation showing the issues:

device-2015-09-09-104452

jacobtabak commented 9 years ago

In the sample, when you tap on an item it removes it from the list. Sorry if this is confusing - I've been meaning to rewrite the sample for a while now.

We don't currently support item animations (see #5)

There is a pull request that partially addresses this (#75)

I did notice the issue about clicking on an item above C triggering the header click listener that you mentioned. It doesn't seem to happen all the time - only after removing items.

AndroidDeveloperLB commented 9 years ago

it's not confusing. It's a legit sample behavior. It just has bugs...

MrUncleYzw commented 7 years ago

@AndroidDeveloperLB Do you solved this problem? i hava the same queastion? can you help me

AndroidDeveloperLB commented 7 years ago

@MrUncleYzw I just don't use this library anymore

MrUncleYzw commented 7 years ago

@AndroidDeveloperLB all right ... 3q for reply