Retrofit with MVVM in Jetpack Compose
We will build simple app using jsonplaceholderAPI for this project and use Retrofit library with MVVM in JetPack Compose.
π‘
If you are looking for Jetpack Compose ROOMDB Setup with Flow, DI and MVVM : Article : Compose MVVM RoomDB with Flow and DI
...
saurabhjadhavblogs.com6 min read
Nathan Meade
Why not wrap the getPosts function return type with a Retrofit Response to check for a successful response from ApiService?