Closed fjr619 closed 4 months ago
Please make it to support jetpack compose
@fjr619 You can use it with compose as well. There is no limitation. Just create the instance, call the download function and pass the url. You can create the instance in Viewmodel as well if you want to retain the instance while configuration changes.
While it might be possible to have this logic in the ViewModel, you should rather create an abstraction in your domain layer and inject it into your ViewModel. This is much more best practice. Doesn't change the fact it works the same way for Compose 😄
True @PrimoDev23 🙌
Closing the issue
Please make it to support jetpack compose