image.png
# orbit-mvi
a
image.png
r
you have to place loadCurrencyRating in
onCreate: ((state: STATE) -> Unit)? = null
of container method. This lambda will be executed when container gets created/interacted
m
this, and also the
container
needs to be stored in a field, you have a custom getter which will create a new container with every intent
👍 2
a
@Mikolaj Leszczynski I wonder if we could create a lint rule to spot this setup of a container? Possibly maybe able to create one around init too,although will be harder to figure out if it’s executing an intent block?