##Android Jetpack ,MVVM and TDD implementations ###for API used weather and forecastApi from https://openweathermap.org/api
- Focus on Android JETPACK https://developer.android.com/jetpack/
- Android Test Driven development https://developer.android.com/training/testing/fundamentals.
- Used JaCoCo for line coverage tool, that is used to measure how many lines of our code are tested.
*MVVM Architecture: In MVVM, ViewModel exposes streams of events to which the Views can bind to. Like this, the ViewModel does not need to hold a reference to the View anymore, like the Presenter is. This also means that all the interfaces that the MVP pattern requires, are now dropped.
*Android Databinding: Part of Android Jetpack, is a support library that allows you to bind UI components in your layouts to data sources in your app using a declarative format rather than programmatically.
*Dependancy Injection(Daggar2):- Dagger is a fully static, compile-time dependency injection framework for both Java and Android. It is an adaptation of an earlier version created by Square and now maintained by Google.
*Android JUNIT4: Build local unit Test cases.
*Retrofit- For n/w calling using okhttp client.
Android Studio 3.5 or newer.
A step by step series of examples that tell you how to get a development env running
Checkout The code with Gitlink in android Studio.
file->new->open from versioncontrol->git
Build the project.
Build the Jacoco report from gradle, Please connect to device and accept the location permission. Please see the the report for this project.
- Espresso Test
*Unit Test Cases.
- Ashish Singh - Complete work - AshishSingh