What is dagger and explain dependency injection?



What is dagger and explain dependency injection?..

Answer / Ajeet Kumar Barnawal

Dagger is a dependency injection framework for Android and Java applications. It allows you to automate the creation and management of objects, by defining dependencies between them. Dependency injection is a software design pattern that separates the construction of object graphs from client code, promoting loose coupling and testability.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

What is the correct way to check if a Compass sensor is present on the system? Explain your answer.

1 Answers  


Explain android architecture briefly.

1 Answers  


What is mvvm android?

1 Answers  


What is on change?

1 Answers  


What is an android one device?

1 Answers  


What is resource in android?

1 Answers  


which of the based class for the main application class in an android application that has a user interface?

1 Answers  


Can you use an Intent to provide data to a ContentProvider? If not, what would be the proper mechanism for doing this?

1 Answers  


What is a dagger component?

1 Answers  


Can you play android 2.1 games on android 2.2?

1 Answers  


What is onstop?

1 Answers  


What main/gen/ directory contains?

1 Answers  


Categories