Refactoring our Dependency Injection using Anvil

This page summarizes the projects mentioned and recommended in the original post on /r/RedditEng

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • anvil

    A Kotlin compiler plugin to make dependency injection with Dagger 2 easier. (by square)

  • Handling DI at scale can be a challenging task in avoiding circular dependencies, build bottlenecks, and poor developer experience. To solve these challenges and make it easier for our developers, we adopted Anvil, a compiler plugin that allows us to invert how developers wire, hook up dependencies and keep our implementations loosely coupled. However, before we get into the juicy details of using this new compiler plugin, let's talk about our current implementation and its problems that we are trying to solve.

  • Dagger2

    A fast dependency injector for Android and Java.

  • At Reddit, we use Dagger 2 for handling dependency injection (DI) in our Android application. As we’ve scaled the application over the years, we’ve accrued a bit of technical debt in how we have approached this problem.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Having both Dagger and Hilt at the same time? 🤔

    1 project | /r/android_devs | 29 Nov 2022
  • Anvil, generating factories without kapt, and module structure.

    2 projects | /r/androiddev | 30 Aug 2022
  • Multiplatform dependency injection libraries equivalent to Dagger/Anvil

    5 projects | /r/Kotlin | 27 Jul 2022
  • Toying with Kotlin's Context Receivers

    1 project | news.ycombinator.com | 15 May 2022
  • N26 Path To Anvil

    1 project | /r/android_devs | 18 Feb 2021