Hi everyone, I am a student trying to learn kotlin compose mvi pattern.
Currently, I am encountering some confusion regarding the differentiation between Intents and States within the MVI framework.
To provide a specific example, in regards to a simple login screen, I understand that the Intent would be triggered by the user clicking a Login button. However, I am considering the most appropriate information to include in the State. Initially, I thought to hold the username and password, but I am now questioning whether it would also make sense to include information such as whether the login button has been clicked, such as through a boolean value like
onLoginClick
. Thank you for your guidance. I am struggling a bit with using MVI architecture so any resources is appreciated.