StickyListHeaders
StickyListHeaders copied to clipboard
First list item after header doesn't click
First list item after header doesn't click, but all other item are clickable.
This my code ListView initialization:
menuListView = new StickyListHeadersListView(getSherlockActivity()); menuListView.setBackgroundColor(getResources().getColor(android.R.color.white)); menuListView.setAreHeadersSticky(true); menuListView.setOnItemClickListener(this); menuListView.setOnHeaderClickListener(this);
In my list for example I have header item with back button and 5 category items. When I click on first category item - nothing is happen(onItemClickwasn't called for this item). But after that I click on second category item - it's work fine - onItemClick was called and second item have 1 position it adapter list. When I try to get list item for position 0, View firstView = mList.getChildAt(0); int firstViewVis = firstView.getVisibility(); firstViewVis is View.Visible. Please, help me as soon as possible - I must made release today.
I can validate this. Anytime I try to click the item after the header the first time it does not work. Also having problems with clicking header item a lot and all of a sudden the clickListener for the non-headers is called...
+1 same problem
does anybody fix that?