PinnedHeaderListView icon indicating copy to clipboard operation
PinnedHeaderListView copied to clipboard

How to request focus for section headers when there are items behind them?

Open danielsunyu opened this issue 12 years ago • 5 comments

My situation is like this: I placed a button inside one section header. It was clickable when there are no items behind that section header. But to my surprise, when I was scrolling down the ListView and there were section items behind the section header, the items got focus instead of the header. This is abnormal as one might expect. Is there any means to circumvent this behavior? Please be kind to reply me because there's a deadline on my project.

danielsunyu avatar Apr 03 '13 09:04 danielsunyu

This is a duplicate of #6

I'm working on getting a fix out this week.

JimiSmith avatar Apr 03 '13 09:04 JimiSmith

Hi, why the section can't clickable when it scroll to top? Please help me.

jvlstudio avatar Aug 08 '13 07:08 jvlstudio

@JimiSmith @jvlstudio I have the same issue,First section can't clickable

litao0621 avatar Nov 17 '14 08:11 litao0621

custom header, and override dispatchTouchEvent in listview, then setOnTouchListener. look this commit https://github.com/mejonzhan/PinnedHeaderListView/commit/d0a257f1ee88fee6145fb79dd9a2965c1d98b5b0 @JimiSmith @jvlstudio @sd6352051 @dannysuen

mejonzhan avatar Apr 01 '15 08:04 mejonzhan

Thank you @mejonzhan for these changes. Every event can be handled now ;) .

tneginareb avatar Jun 01 '15 12:06 tneginareb