Skip to content

yash786agg/TDD-App

Repository files navigation

TDD-App

This sample application helps you to understand how the Test-Driven development works with Android Architecture Component.

License API

Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Kotlin based + Coroutines for asynchronous.
  • Koin for dependency injection.
  • JetPack
    • LiveData - notify domain layer data to views.
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
  • Architecture(https://developer.android.com/topic/libraries/architecture/index.html)
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
  • Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.
  • Moshi - A JSON serialization/deserialization library for Kotlin and Java.
  • Coil - A Image loading library.
  • Mockito - A Unit Testing framework.

Architecture

The application is based on MVVM architecture and a repository pattern.

architecture

Open API

TDD-App using the The Movie DB API for constructing restful API.
The Movie DB API provides a restful API for movie and its related service.

Thanks for reading this repo. Be sure to click ★ below to recommend this repo if you found it helpful. It means a lot to me.

For more about programming, follow me on Medium

Also, Let’s become friends on Linkedin

License

Designed and developed by yash786agg (Yash Agarwal)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.