Skip to content

Changing text of Header when user clicks of an item. #30

@mdtarik

Description

@mdtarik

I need to change the text of the pinned header when user clicks on an item. Suppose, user clicks on the first item, I need to show "1" in the pinned header, when user clicks on 2nd item on any group (means, items under that header), I need to show "2" in the pinned header.

My question is how can I get/access the header from an item's onClickListener? Is there any way like getHeaderViewByPosition(int section_position) ... or anything like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions