Skip to content

Change panes size after index change #15

Description

@lsuski

Hi,
I'd like to make panes size dependent of current panes configuration, e.g.
I have 4 panes and only 3 visible at time (1-2-3 or 2-3-4), I want first visible pane to be always 0.25 of available size. The problem is that PaneSizer is called only at the beginning and I can't request onMeasure on PaneView (invalidate & requestLayout on PanesLayout doesn't work) while scrolling (or after index changed). Size of pane no. 2 is measured once and when it becomes first visible pane it is partially covered by pane no. 3. Do you have any suggestions how to manage this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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