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
This is a simple news app which uses newapi.org api to showcase news in very user friendly manner. It is made complete using 100% kotlin using android new declarative UI framework Jetpack Compose. This app follow google recommended archietechture for android app MVVM and has single activity model.
Check out the Demo below :
Preview
Tech Stack Used
Jetpack Compose
Compose is Android modern declaritive UI framework using only kotlin, This App is completely made with kotlin using compose and animation APIs are in several parts of app.
All the material components like botton navigation bar and search bars are made with composable functions.
Retrofit
Retrofit is goto solution for making network calls in android. This app demonstrate GET methods. Further network error handling is also done to catch errors of network calls.
Hilt
Hilt is simple solution for dependency injection in android projects. This app use hilt for providing dependencies.
Coil
Coil is a very convenient library to load images from url.
LiveData
LiveData is an observable data holder class. Unlike a regular observable, LiveData is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments, or services. This awareness ensures LiveData only updates app component observers that are in an active lifecycle state.
Using Livedata with jetpack compose
Coroutines
A coroutine is a concurrency design pattern that you can use on Android to simplify code that executes asynchronously.
About
News App made completely with Android new declarative UI framework Jetpack compose.