You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SingleNetworkCall feature you are launching a coroutine in the viewmodel. As no dispatcher mentioned it uses the main thread. Again in the apiHelper suspend function there is no use of Dispathcer.IO . Should not we use that as it is doing I/O task? Yes retrofit it handling the network part. But still I am thinking of the right approach. @amitshekhariitbhu
The text was updated successfully, but these errors were encountered:
In SingleNetworkCall feature you are launching a coroutine in the viewmodel. As no dispatcher mentioned it uses the main thread. Again in the apiHelper suspend function there is no use of Dispathcer.IO . Should not we use that as it is doing I/O task? Yes retrofit it handling the network part. But still I am thinking of the right approach. @amitshekhariitbhu
The text was updated successfully, but these errors were encountered: