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

Archie

09/13/2020, 2:28 PM
What's compose stand about persistent UI? Such as keeping the same AppBar across multiple screen. Is it expected that we change the whole screen everytime in Compose?
s

Sourabh Rawat

09/13/2020, 2:34 PM
You can easily use:
Copy code
MainApp {
  CommonAppBar()
  Content()
}
where Content is the dynamic screen content. Well, this is how you do it in React/Flutter afaik.
👍 2
3