Adaptive layout with StateContainer #860
Closed
Strypper
started this conversation in
New Feature Discussions
Replies: 2 comments 2 replies
-
You can do something like this with ContentTemplate and probably can use a |
Beta Was this translation helpful? Give feedback.
2 replies
-
Closed and answered |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since the toolkit introduced the StateContainer I see this is a huge potential for cross-platform solution. The way we pick the right layout shouldn’t rely on the device info but should rely the current width the app window because the Galaxy Z Fold can folded and unfolded and Ipad can open application in narrow state for splitscreen and yes this work with Android and IPad OS also. the quickest way would be create the whole ui for 3 states phone - tablet - desktop. Sadly the StateContainer keep crashing when I change the state too fast with the sizechanged event, and it force me to use the grid or the stack to host the stateview —> this will also kill the scrolling if I have the collectionview in it, hope the team make this work for the content page itself
Beta Was this translation helpful? Give feedback.
All reactions