Folks using MVIKotlin, how did you get started? An...
# mvikotlin
b
Folks using MVIKotlin, how did you get started? And if you’re using MVIKotlin, do you also prefer to use Decompose?
a
You can start from reading the Readme and the documentation. Next you can check the sample app in the MVIKotlin repository. It has opinionated architecture, there are absolutely no rules about it. You can experiment and use whatever architecture you like. The main thing MVIKotlin provides is
Store
, which gives you single source of truth. It is important to understand that it does not mean to have one single
Store
in your app. The scope of SSOT can be a whole app, a screen, or even part of the screen. To check how it works with Decompose you can check this todo sample app.
b
Hey thanks. I had done that before asking, but the todo sample is really complex. I was hoping there was something simpler to get going.
a
Thanks for the feedback! The simple Counter sample is described in the docs: https://arkivanov.github.io/MVIKotlin/store.html Let me know if you need any help.