
Define a data package with local and remote data caches, create an endpoints class for api calls such as get tax and get all tax, and configure the base URL.
Create and configure a retrofit instance to build a networking service interface, including a converter factory, and return the network service for API calls.
Define request and response data classes for API calls, and generate them from postman payloads. Prepare to send data to the endpoint and receive responses in the network service.
Configure the network service and implement suspend functions to fetch all taxes and to fetch a tax by id using defined endpoints, headers, and Retrofit tooling.
Configure a dagger application component and application module to provide singleton network and database services, inject dependencies into the to-do app, and set up the repository as a shared dependency.
Learn to inject dependencies into a fragment with Dagger 2, wiring the application and fragment components, a view model factory, and repository to power the add fragment.
Enable task creation in the attacks fragment by populating fields, wiring the add task action to the api via dependency injection, and showing snackbar feedback on success or error.
Debug and fix a bug in Android app by identifying a missing user id in the request, addressing 500 error, and validating successful data insertion, while leveraging Dagger and Kotlin.
I congratulate you on completing all lectures in this final lecture and invite you to explore my other Android courses on Udemy, with coupon codes and financial aid options.
In this course we will learn android dependency injection using Kotlin and MVVM. We will build a complete app using Kotlin, Coroutines, Room, Retrofit, Dagger and MVVM. This course is fully practical no talking just doing. If you have already completed Android Dependency Injection With Dagger - I, this course is for you.
This course is for anyone who is interested in learning Android Dependency Injection With Dagger. By the end of the course you will have a good understanding about dependency injection and Dagger 2.