Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Android Dependency Injection With Dagger 2 - I
Rating: 4.2 out of 5(9 ratings)
118 students
Created byRichard Dewan
Last updated 8/2020
English

What you'll learn

  • Dependency Management
  • Dependency Injection
  • Dagger 2
  • Kotlin Coroutines

Course content

2 sections30 lectures3h 37m total length
  • Project File0:01
  • What is Dependency And Dependency Management4:12

    Learn the basics of dependency and dependency management, illustrated by a graph of main activity, menu model, repository, database, and network service dependencies.

  • Dagger Stage 1 - Part 18:54

    Continue building a Dagger stage 1 project by creating data, user interface, network, and database packages and implementing a network service and repository scaffold for dependency injection.

  • Dagger Stage 1 - Part 210:30

    Build a repository and view model with dagger stage one part two, wiring database service and network service using context to manage dependencies.

  • Dagger Stage 1 - Project Explain4:58
  • Passing Dependencies Through Constructor10:14

    Improve previous Android projects by passing dependencies through the constructor, replacing hardcoded values with constructor parameters for database and network services, boosting configurability and reusability.

  • Singleton Instance14:39
  • Inversion of Control2:44

    Learn inversion of control and dependency injection by never creating dependencies inside classes, instead providing services and repositories from the outside through constructors.

  • Inversion of Control Practical8:43

    Implement inversion of control in an Android app by injecting a database service and network service through a repository constructor, created externally and wired via view model and main activity.

  • Application and Activity Dependencies15:37

Requirements

  • Basic of Android Development

Description

In this course we will learn android dependency injection from scratch. In the first section of the course we will learn dependency injection by creating different project and implementing a best practice in dependency injection. In the second section of this course we will learn about the Dagger 2 and android dependency injection with dagger in a practical way.

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.

Who this course is for:

  • Any one intrested to learn adroid dependency injection with dagger