Skip to content

dhruvdroid/OTT-Sample

Repository files navigation

Sample OTT

Used the following concepts

  1. MVVM architecture
  2. Koin dependency injection
  3. Coroutines for multiple threaded and different scope operations
  4. View binding for xml file binding in UI components (Activity)
  5. Retrofit for rest API calls
  6. Gson for JSON data conversion
  7. Android architecture component (Live Data, View Model, Repository etc)
  8. Kotlin extention components
  9. Material libraries
  10. Used the webp images to decrease the size of Apk instead of jpeg or png

Know Issues

  1. Loading indicator via Movie Result Sealed classes
  2. Error handling for no network and empty list while filtering

Improvements

  1. Using of the navigation component, didn't used it as there was not much of the navigation inside the application it would be miuch easier way to implement
  2. Didn't use PAGING library for Pagination (Jetpack) because of limitation of the API data
  3. Choose Koin over Dagger as I am currently working with Dagger wanted to learn the Koin implementation and learn something new. If I would have given choice to choose DI, I would have tried out the HILT (Reason - out of the box support by android team and testing capability)
  4. Implementation of the ROOM to save the user data, and cache to avoid the API call.
  5. Completion of unit test cases

About

Basic OTT Sample application using

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published