开发者

OnGroupClickListener

i set on my ExpandableListView OnGroupClickListener. but when i click on expanded group - group at first group collapsed, and only after se开发者_C百科cond click OnGroupClickListener called.


I have the same problem. If I click on expanded group. The onGroupClickListener is not called on first click, but on the second !. This happens with version 2.1-update 1. Version 2.2 is working correctly !

To solve this problem you can use:

expList.setOnGroupCollapseListener(onGroupCollapseListener);
expList.setOnGroupExpandListener(OnGroupExpandListener);

This should work correctly. Worked in my case.

Good Luck !

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜