Hi, I have a question please is it a good idea to ...
# compose
m
Hi, I have a question please is it a good idea to create a view model for dialog? I have this case where I have a dialog and in the dialog I have to call an api on the confirm button and this dialog is used in multiple screens I asked this question here because the project in compose
c
I think it can be beneficial to create a viewmodel for a dialog for the case you outlined, yeah.
m
🙏