SoccerStanding is an android app which displays the best soccer teams all over the world. The main motive of building this app is to demonstrate one of the recommended architectures in android i.e. MVVM and inside this, what, why and how repository pattern plays a very vital role. So, whatever teams list we are able to see as soon as the app opens, client(app) requests an api call which gets triggered, request is then sent to the server and once received information of teams as response , it gets stored in a repository class and then it gets passed to the view model and activity. Hence, repository class is used to fetch information either from a database or remote. This is how client server architecture works.
Following components used:
- activity
- View binding
- MVVM
- Kotlin
- Clean architecture
- Rest api - Retrofit