Hi there. Does MVIKotlin have something like a MVI...
# mvikotlin
e
Hi there. Does MVIKotlin have something like a MVICore's post processor. Or do we need to send a Label which will send Intent to the same Store?
a
Hi. No it doesn't. Whenever you want to send a label, just call
publish(Label)
.
👍 2
In MVICore PostProcessor exists only because you can't read a new state in the Actor. So if your need additional logic after state has changed, you have to dispatch a new Action from PostProcessor. In MVIKotlin you can dispatch a Result and read the new State right after dispatch function returns.
e
Yes, I have already understood and appreciated the advantages of this approach :)
👍 1