Export to GitHub

android-amazing-listview - issue #2

the first header can't respond to click event when scrolled up


Posted on May 12, 2012 by Quick Horse

What steps will reproduce the problem? 1. set onclick listener for all header layout 2. after start the app, scroll up a several list item 3. the first header can't responding to onclick event,onclicklistener can't be called for the first shown header

In my opinion, no matter in what state,the first shown in the listview should be clickable. I tried to find why this happen , It turned out that the drawchild called in dispatchdraw can't draw on clickable child.

I used android sdk 2.2

Comment #1

Posted on Aug 16, 2013 by Happy Lion

I also really need this feature because I want to put a button on the header and it does not work when the header is pinned.

Did you get around this issue?

Comment #2

Posted on Dec 30, 2014 by Happy Camel

I'm having the same problem, if the list is scrolled a little, already it's sufficient to listener stop to respond. As if the clickable elements were scrolling together, because if it's almost on the top and an element is clicked, the list adjusts itself some positions to down.

Status: New

Labels:
Type-Defect Priority-Medium