Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

isGroupAlwaysExpanded breaks until [reloadData] is called at least once #16

@adamgit

Description

@adamgit

Everything works fine, no need for [reloadData] - no need for unnecessary references to the PXSourceList instance, if you create your list of Source Items during [init*].

EXCEPT ... if you return "TRUE" / "YES" from isGroupAlwaysExpanded, then the group shows up with "zero" items, and no expansion triangle.

Doing an extra [sourcelIst reloadData] during awakeFromNib worksaround the problem, but AFAICS it shouldn't be needed and this causes the data to get loaded twice, unnecessarily.

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