Category: IT
Design patterns pictures
Android dagger override Module in test
overriding @Module
classes with Dagger 2 [in tests]
ActivityTestRule, Building Instrumented Unit Tests, JUnit4 Rules with Testing Support Library, Testing Support Library, Getting Started with Testing
Example:
Dagger test, androidTest component generated code
to allow Dagger to generate code in test and androidTest folders we should add dependencies test
and androidTest
to gradle.
Dagger test component not found
Dagger not generating components for /test class
Continue reading Dagger test, androidTest component generated code
Annotation Processing in Android Studio
Annotation Processing in Android Studio
Writing your own Annotation Processors in Android [https://medium.com/androidiots/writing-your-own-annotation-processors-in-android-1fa0cd96ef11]
All About Annotations and Annotation Processors
12.01.2021 [https://medium.com/swlh/all-about-annotations-and-annotation-processors-4af47159f29d]