Dagger2
Kotlin Dagger2 example project
Install / Use
/learn @WeRockStar/Dagger2README
Google Dagger 2 (Demo)
Production code drive by Testing :)
Fully static, compile-time dependency injection framework for both Java and Android.
Configuration
build.gradle application module level
dependencies {
...
implementation 'com.google.dagger:dagger:2.9'
kapt 'com.google.dagger:dagger-compiler:2.9'
}
You can use libraries or tools.
- RxJava2, RxAndroid2
- Retrofit, OkHttp, OkHttp logging
- Gson
- Dagger 2
Testing framework
- Junit
- Mockito
- Jacoco (Test coverage)
- Espresso (UI Testing from
Google)
CI Tools
- Circle CI
- Travis CI
Run UI-Test (Espresso)
./gradlew connectAndroidTest
<p align="left">
<img width="300" src="ui-testing.gif" />
</p>Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
