I read about Injections Dependency and found 2 libraries that attract my attention, AndroidAnnotations and Dagger 2. I saw that AA has a lot of functionality, including DI, but most developers use Dagger 2 for DI.
I was wondering what is the difference between DI with AA and DI with Dagger 2? If I use AA, then I don’t need dagger 2?
I could not find much information for DI with AA and comparisons with other libraries.
Any information will help a lot.
I don’t think you can compare AA and Dagger.
. Android, Android , Java-. .
AndroidAnnotations - Android. ( ), . API- Android, , , , , , .. . AA .
AA , AA ( ).
: AndroidAnnotations.
, Dagger 2 Android Architectural Components (Room and Viewmodel), , MVVM.
github
Source: https://habr.com/ru/post/1667159/More articles:Joining MySQL tables with key value pairs - sqlpdo normalizes mysql tables - sqlHow to compare two huge lists in Java? - javaStop Visual Studio from running JS tests for builds - visual-studio-2015Comparison of 2 very large arraylists in java - javaCan I "observe" the dynamic children of a component? - javascriptHow to capture the last part of a log line and interpret it as json? - jsonng-show does not support working with ng-animation for scaling in the drop-down menu - cssКак уменьшить время перезагрузки при использовании модификаторов - lessJekyll blog import - what is this loading error? Can't upload such a file? - importAll Articles