https://kotlinlang.org logo
#compose
Title
# compose
c

Colton Idle

03/02/2023, 9:19 AM
Anyone have examples of using m3 navigation drawer + AAC compose-nav?
s

Stylianos Gakis

03/02/2023, 1:02 PM
Not aware of any samples, but NowInAndroid is the closest one that comes to mind. At the place where they are configuring the navigation bar / navigation rail, you should be able to configure your navigation drawer too. And the same way they’re handling navigating from those two, should be applicable to the drawer. So if I had to try this out, that’s where I’d start looking.
p

Pablichjenkov

03/02/2023, 3:39 PM
What is AAC ?
c

Colton Idle

03/02/2023, 4:39 PM
Android arch component
p

Pablichjenkov

03/02/2023, 4:57 PM
Ahh it bites me all the time. I played with it for a bit. Chech below project, perhaps a bit overloaded for what you want. https://github.com/pablichjenkov/ComposeStudy/tree/develop/app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fpablichj%2Fstudy%2Fcompose%2Froot%2Fdrawer
2 Views