Compose - makstron/info GitHub Wiki
Compose uses **declarative ** approach
Imperative
- Describes how program does something step by step. On each change that mutates the program's state
- Describes transitions from the old state to the wanted owne
Declarative
- Describes what program does, without specifying its control flow
- Describes the UI how it should look like
https://stackoverflow.com/questions/59368360/how-to-use-compose-inside-fragment