Dagger is a fully static, compile-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. The latest Dagger release is: Dagger 2.33. Dagger aims to address many of the development and performance issues that have plagued reflection-based solutions. Dagger is a replacement for the FactoryFactory classes that implements the dependency injection design pattern without the burden of writing the boilerplate. It allows you to focus on the interesting classes. Declare dependencies, specify how to satisfy them, and ship your app. Dependency injection frameworks have existed for years with a whole variety of APIs for configuring and injecting. So, why reinvent the wheel? Dagger 2 is the first to implement the full stack with generated code. The guiding principle is to generate code that mimics the code that a user might have hand-written to ensure that dependency injection is simple.

Features

  • Simple, traceable and performant dependency injection
  • Dagger constructs instances of your application classes and satisfies their dependencies
  • Dagger can inject fields directly
  • Dagger also supports method injection
  • Dagger associates scoped instances in the graph with instances of component implementations
  • Components may have multiple scope annotations applied

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Dagger

Dagger Web Site

Other Useful Business Software
HR Outsourcing Built for Small and Midsize Businesses Icon
HR Outsourcing Built for Small and Midsize Businesses

Payroll. Benefits. Compliance. Technology. All in one place.

TriNet is a leading provider of HR outsourcing solutions built for small and midsize businesses. Its platform combines payroll, benefits, risk management, compliance, and HR technology in one integrated system. Through its PEO (Professional Employer Organization) and HR Plus (ASO) offerings, TriNet helps companies streamline HR administration, stay compliant, and access enterprise-level benefits. Businesses can run payroll efficiently, manage compliance with complex state and federal regulations, and offer competitive employee benefits with ease. The company’s intuitive HR platform also automates time tracking, leave requests, and onboarding. With TriNet, organizations can focus on growth while ensuring their people and processes are supported by expert HR guidance.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Dagger!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java Build Tools, Java Frameworks

Registered

2021-03-23