Skip to content

[Question + Discussion] Adding sibling views to table_view in TableScreen and GroupedTableScreen #765

@hboon

Description

@hboon

Is there a straightforward way to add sibling views to table_view in TableScreen and GroupedTableView?

I'm looking specifically at 2 use cases:

  • (A) when the table_view and a sibling view don't overlap, say table_view at the top half of the screen and the sibling view at the bottom half
  • (B) when the sibling view overlays/overlaps the table_view.

I created a variation of the classes — TableViewController2, TableScreen2 and GroupedTableScreen2 to inherit from a UIViewController and adding the table_view as a subview so sibling views can be added to the resulting TableScreen2 (to work with use cases A and B). It looks like this modification can be made directly to the original 3 classes and still remain compatible.

If there's no way to do this currently with ProMotion, and there isn't a fundamental issue with this, I can create a PR for this.

I haven't thought of specific ways to test this other than the existing spec. If anyone has any idea, feel free to pitch in :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions