Hi, all. Is there a Compose equivalent to the SwiftUI NavigationSplitView type?
g
Garret Yoder
02/15/2024, 3:40 PM
I don't think theres a premade one, but you'd just do a row w/ as many items as you want and have each row keep a state of which item was selected, and then use that state to drive each subsequent row
library is the closest equivalent in Compose.
https://developer.android.com/jetpack/compose/layouts/list-detail has the main documentation so far - the library is still in the first alpha phase, so we’re in the stage where any and all feedback and bugs are welcome as we’re working on the APIs.
👍 2
d
Darryl Pierce
02/16/2024, 4:18 PM
@Alex Vanyo That looks like a good analog to it. Thanks!
g
Garret Yoder
02/16/2024, 5:26 PM
Can you use material3-adaptive on multiplatform or is that one android only at the moment?