I want to use Compose navigation with my top bar and bottom bar in my scaffold. My bottom bar items are the "main" screens, while they each have other screens that they can branch out to.

I want to be able to have my top bar title update every time a new screen appears.

What is the best way to have the top bar keep track with what screen you're on?

0

There are 0 answers