I like Approach 1 best.
• It can be nice to know that all the code in the ViewModel only runs in the main-thread.
• You can inject the Dispatchers.IO into your
Interactor
implementation and your ViewModel does not have to worry about it.
s
Shahzad Aslam
11/19/2019, 11:18 PM
sorry I think #android-architecture is the right channel for this I am moving the question there.
Can you please post your reply there.. Please.
Thanks.