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

https://habr.com/ru/companies/ozontech/articles/742854/

https://medium.com/@denisgolubev1999/jetpack-compose-%D0%BF%D0%BE%D0%B4-%D0%BA%D0%B0%D0%BF%D0%BE%D1%82%D0%BE%D0%BC-%D1%80%D0%B5%D0%BA%D0%BE%D0%BC%D0%BF%D0%BE%D0%B7%D0%B8%D1%86%D0%B8%D1%8F-%D0%B8-%D1%81%D1%82%D0%B0%D0%B1%D0%B8%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5-%D1%82%D0%B8%D0%BF%D1%8B-9598f8b62006