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 ...

Markdown supported · ⌘↵ to post
Nathan Meade
Why not wrap the getPosts function return type with a Retrofit Response to check for a successful response from ApiService?