Left Blocks Image | Learnfly Right Blocks Image | Learnfly
All in One Offer! | Access Unlimited Courses in any category starting at just $29. Offer Ends in:

Learnfly | Menu Trigger Icons Browse Library

  • Business Solutions
  • Become an Instructor
  • 0
    Shopping Cart
    Learnfly | Empty Cart Icons

    Your Cart is empty. Keep shopping to find a course!

    Browse Courses
Free
5 days left at this price!

This plan includes

  • Limitedfree coursesaccess
  • Play & PauseCourse Videos
  • VideoRecorded Lectures
  • Learn onMobile/PC/Tablet
  • Quizzes andReal Projects
  • Lifetime CourseCertificate
  • Email & ChatSupport
Get Unlimited Learning Access
$29
5 days left at this price!
30-Day Money-Back Guarantee

This plan includes

  • Access to11,000+Courses
  • Adsfree experienceCourses
  • Play & PauseCourse Videos
  • Learnfly HD IconsHD VideoRecorded Lectures
  • Learn onMobile/PC/Tablet
  • Quizzes andReal Projects
  • Lifetime CourseCertificate
  • InstructorDirect Support
  • Email & ChatSupport
  • Cancel Anytime
$29
$29
$29
  • The Concept Of Dependency Injection
  • How To Perform Dependency Injection Without A Library
  • Using Dagger For Dependency Injection

Dependency Injection can seem to be an intimidating topic at first but is quite simple when you finally get to understand it. Dependency Injection is a technique in which an object receives other objects that it depends on (Wikipedia).

 

In this course, we will learn about Dependency Injection without using a library. You might just find out that you have already been using Dependency Injection in your code ?.

We will then go on to use Dagger and Guice Library for dependency injection.

 

Dagger is a fully staticcompile-time dependency injection framework for Java, Kotlin, and Android. It is an adaptation of an earlier version created by Square and now maintained by Google. (Official Docs)

Guice (pronounced 'juice') is a lightweight dependency injection framework, it is developed and managed by Google.

 

Some topics you will learn in the course are field injection, method injection, modules, Dagger annotations, bindings, scopes, and custom scopes.

 

Dependency injection is a technique in which an object receives other objects that it depends on. These other objects are called dependencies. In the typical "using" relationship the receiving object is called a client and the passed (that is, "injected") object is called a service. The code that passes the service to the client can be many kinds of things and is called the injector. Instead of the client specifying which service it will use, the injector tells the client what service to use. The "injection" refers to the passing of a dependency (a service) into the object (a client) that would use it. (Wikipedia)

  • A Good Internet Connection
  • Basic Experience With Java Programming Language
  • Developers Wanting To Understand The Concept Of Dependency Injection
  • Java Developers Who Want To Learn About Dagger
  • Android Developers Working With Dagger
View More...
  • Section 1 : Introduction 3 Lectures 00:05:35

    • Lecture 1 :
    • Lecture 2 :
    • What is Dependency Injection
    • Lecture 3 :
    • Installing Dagger
  • Section 2 : Getting Started with Dagger 4 Lectures 00:19:16

    • Lecture 1 :
    • Inject and Component
    • Lecture 2 :
    • Field Injection
    • Lecture 3 :
    • Method Injection
    • Lecture 4 :
    • Dagger Modules
  • Section 3 : Diving Deeper 5 Lectures 00:21:20

    • Lecture 1 :
    • Binds Annotation
    • Lecture 2 :
    • Singleton Annotation
    • Lecture 3 :
    • Named
    • Lecture 4 :
    • Named String
    • Lecture 5 :
    • Member Injection Method
  • Section 4 : Scopes and Components 5 Lectures 00:19:06

    • Lecture 1 :
    • Creating New Objects
    • Lecture 2 :
    • Laptop Class
    • Lecture 3 :
    • Need For Scopes
    • Lecture 4 :
    • Scopes
    • Lecture 5 :
    • Custom Scopes
  • Section 5 : Juicy Guice 4 Lectures 00:11:52

    • Lecture 1 :
    • What Guice
    • Lecture 2 :
    • Guice Dependency
    • Lecture 3 :
    • The Injector
    • Lecture 4 :
    • Inject Annotation
  • Section 6 : More Guice 4 Lectures 00:14:58

    • Lecture 1 :
    • Field And Method Injection
    • Lecture 2 :
    • Named Annotation
    • Lecture 3 :
    • Binding
    • Lecture 4 :
    • Named Bindings
  • Section 7 : Last Guice 2 Lectures 00:04:08

    • Lecture 1 :
    • Singletons
    • Lecture 2 :
    • Where To Go From Here
  • Learnfly Google Logo
  • Learnfly Facebook Logo
  • Learnfly Apple Logo
  • Learnfly EA Logo
  • Learnfly Amazon Logo
  • Learnfly IBM Logo
  • Learnfly Microsoft Logo
  • Learnfly Reddit Logo
  • Learnfly Spotify Logo
  • Learnfly Uber Logo
  • Learnfly Youtube Logo
  • Learnfly Instagram Logo
  • How do i access the course after purchase?

    It's simple. When you sign up, you'll immediately have unlimited viewing of thousands of expert courses, paths to guide your learning, tools to measure your skills and hands-on resources like exercise files. There’s no limit on what you can learn and you can cancel at any time.
  • Are these video based online self-learning courses?

    Yes. All of the courses comes with online video based lectures created by certified instructors. Instructors have crafted these courses with a blend of high quality interactive videos, lectures, quizzes & real world projects to give you an indepth knowledge about the topic.
  • Can i play & pause the course as per my convenience?

    Yes absolutely & thats one of the advantage of self-paced courses. You can anytime pause or resume the course & come back & forth from one lecture to another lecture, play the videos mulitple times & so on.
  • How do i contact the instructor for any doubts or questions?

    Most of these courses have general questions & answers already covered within the course lectures. However, if you need any further help from the instructor, you can use the inbuilt Chat with Instructor option to send a message to an instructor & they will reply you within 24 hours. You can ask as many questions as you want.
  • Do i need a pc to access the course or can i do it on mobile & tablet as well?

    Brilliant question? Isn't it? You can access the courses on any device like PC, Mobile, Tablet & even on a smart tv. For mobile & a tablet you can download the Learnfly android or an iOS app. If mobile app is not available in your country, you can access the course directly by visting our website, its fully mobile friendly.
  • Do i get any certificate for the courses?

    Yes. Once you complete any course on our platform along with provided assessments by the instructor, you will be eligble to get certificate of course completion.
    Learnfly LMS Sample
  • For how long can i access my course on the platform?

    You require an active subscription to access courses on our platform. If your subscription is active, you can access any course on our platform with no restrictions.
  • Is there any free trial?

    Currently, we do not offer any free trial.
  • Can i cancel anytime?

    Yes, you can cancel your subscription at any time. Your subscription will auto-renew until you cancel, but why would you want to?
User Images | Learnfly

138407 Course Views

3 Courses

  • Unmatched Variety and Value!
    Learnfly's monthly subscription offers unlimited access to a vast range of courses. Affordable pricing, compared to competitors, makes it the ultimate choice for continuous learning.
    Jessica M.

    4.7

    JM
  • Top-Notch Quality, Affordable Rates!
    High-quality courses with certified instructors make Learnfly stand out. The affordable pricing is a game-changer for those seeking premium education.
    Alex P.

    4.5

    AP
  • Certified Excellence Every Time!
    Learnfly's courses, taught by certified instructors, ensure top-notch learning experiences. The course completion certificates add significant value to one's skill set.
    Sarah R.

    4.3

    SR
  • Round-the-Clock Support!
    Learnfly goes the extra mile with 24/7 course support. Their dedication to helping students succeed is commendable.
    Ryan K.

    4.1

    RK
  • Learn Anywhere, Anytime!
    Whether on mobile, PC, or tablet, Learnfly's platform offers flexibility. Learning on the go has never been easier.
    Emily S.

    4.7

    ES
  • Job-Ready Skills!
    Learnfly's job-oriented courses equip learners with practical skills for the workplace. An investment in career growth!
    Jake M.

    4.2

    JM
  • Budget-Friendly Brilliance!
    Learnfly's pricing is a steal for the quality and variety of courses offered. Quality education without breaking the bank.
    Olivia T.

    4.5

    OT
  • Instructor Excellence Unleashed!
    Learn from the best with Learnfly's certified instructors. The platform ensures that knowledge is imparted by industry experts.
    Daniel L.

    4.0

    DL
  • Achievement Unlocked!
    Learnfly not only offers courses but also recognizes your efforts with course completion certificates. A sense of accomplishment with every course finished.
    Maya H.

    4.6

    MH
  • Learning Revolution!
    Learnfly's platform is a revolution in education. Access to unlimited courses at affordable rates is a game-changer.
    Ethan W.

    4.7

    EW
  • google-tensorflow-hands-on-with-python-latest

    Google TensorFlow Hands on with Pyt...

    By : UNP United Network of Professionals

    Lectures 51 Beginner 3:48:44
  • learn-elixir-programming-from-zero-to-hero

    Learn ELIXIR programming from Zero ...

    By : Pranjal Srivastava

    Lectures 35 Beginner 3:12:57
  • create-your-own-programming-language-from-scratch

    Create your OWN Programming Languag...

    By : Harshit Srivastava

    Lectures 6 Intermedite 0:42:43
  • getting-started-with-coding

    Getting started with coding

    By : Devansh ‎

    Lectures 27 Beginner 3:37:31
  • superb-python-course-become-certified-python-developer

    Superb Python Course - Become Certi...

    By : Paul Carlo Tordecilla

    Lectures 91 Beginner 2:49:20
  • c-from-the-beginning

    C# from the beginning

    By : Igor Evdokimov

    Lectures 31 Beginner 2:46:54

Students learning on Learnfly works with Fortune 500 companies around the globe.

  • Learnfly | a-l-1a Icons
  • Learnfly | a-l-2a Icons
  • Learnfly | a-l-3a Icons
  • Learnfly | a-l-4a Icons
  • Learnfly | a-l-6a Icons
  • Learnfly | a-l-7a Icons
Sign Up & Start Learning
Learnfly | Sign Up Icons
Learnfly | Sign Up Icons
Learnfly | Sign Up Icons
By signing up, you agree to our Terms of Use and Privacy Policy
Reset Password
Enter your email address and we'll send you a link to reset your password.
Learnfly | Sign Up Icons