google / flexbox-layout

Flexbox for Android
Apache License 2.0
18.22k stars 1.79k forks source link

Support for Constraints of Rows & Columns #637

Open BuddhaProgram opened 5 months ago

BuddhaProgram commented 5 months ago

I am currently using this bundle for a corporate related project.

What I am trying to achieve is to set the limit of the number of columns for the rendering. For example: [1][2][3] [4][5][6] [7][8][9]

Column 3 (which is 7, 8, 9) will not be shown unless I explicitly allow the columns to be shown via a button trigger.

May I ask how may I go about doing this?