Can anyone recommend an implementation of `TopAppB...
# compose
a
Can anyone recommend an implementation of
TopAppBar
that simply takes a single Composable (no slots for nav, title, subtitle, actions, etc) and has support for nested scrolling?
s
Probably easiest to copy the implementation one you are looking at with all these slots, and simply remove the other slots and adjust to your needs. Shouldn't be complicated.
a
Try this one - https://gist.github.com/beAnkitK/b7f92960c3a12182b8dd83fc13eb01bc It includes material3 scroll behaviour along with ability to place your composable anywhere.