Skip to content

AbdulDroid/Football

Repository files navigation

Football Data App

An App that fetches data from Football Data API on free plane so the data users are able to access on the app is limited to the free tier

Usage guide

Add your API Key to the build.gradle file in the app module as so

android {
    ...
    defaultConfig {
        ...
        buildConfigField("String", "X_AUTH_TOKEN", "\"API_KEY\"")
        ...
    
}

and build(use Android Studio as the recommended IDE) & run the project on a mobile device or an emulator of choice.

Coding pattern

MVVM design pattern was used in the implementation of this project with Koin for Dependency injection and AndroidX artifacts were used for this project. The project employs a fragmented approach and repository pattern to abstract data from the views.

Libraries used

  1. Android Support Libraries
  2. Constraint Layout for laying out views and view groups, the project uses the version 2.0.0-alpha3 as to be able to use the MotionLayout option
  3. Glide image loading library combined with
  4. AndroidSVG for loading images from the API
  5. Koin for Dependency Injection
  6. Retrofit and RxJava2 for Network calls
  7. OkHttp3 for Network Logging interceptor
  8. JUnit for Unit Tests
  9. Espresso for UI and Automated tests