-
I am using the dagger2 android injector helper classes follow this guide https://google.github.io/dagger//android.html. However, When I use @ContributesAndroidInjector for building a component for **B…
-
Android Studio 0.9.3
Gradle 2.1
Gradle Plugin 0.14.2
Is it supposed to be this way? It's red, but compiles with no problem.
![Screeshot](http://i.imgur.com/5pw7ZBD.png)
-
I create a simplest Dagger2 Sample on my Android Studio.I clean project,it's no problem,but build project failed.I haven't gotton helpful message in the internet, could you help me to solve it?
The…
-
请问您遇到过吗?我测试了一上午了,,
只有一个TextView
```
@BindView(R.id.tv_hello)
Textview mTextView;
```
然后在 ` initData()` 方法里设置内容 mTextView.setText("你好");`
就报 mTextView 空指针了,不用黄油刀,findViewbyId 正常。
也有说两…
-
I have this problem,please share:
Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lcom/squareup/leakcanary/watcher/R;
Error:com.android.dex.…
-
**Glide Version**: 4.0.0-RC1
**Integration libraries**: OkHttp3
**Issue details / Repro steps / Use case background**:
I'm trying migrate to v4 and got stuck with auto-generated G…
-
您好,看到您的博客上的文章:
http://nerd-is.in/2017/07/09/dagger-android——Android-中使用-Dagger2-的新方法/
有个问题请教一下:
1. MainActivityModule 需要在 AppComponent 中依赖吧,但是文章中并没有提?
2. 如果一个Android project 有多个 Module(不是dagger的m…
-
https://github.com/codepath/android_guides/wiki/Dependency-Injection-with-Dagger-2
**Setup** part should mention after first paragraph that after gradle plugin 2.2.0 we should remove `apply plugin:…
-
I have `MyModule.java` which provides a Presenter for Activity:
``` java
@Provides
public MyPresenter getMyPresenter(){
return new MyPresenter();
}
```
There is `MyComponent.java…
-
➜ dagger2-example git:(master) gradle clean build
Parallel execution is an incubating feature.
:app:clean
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:c…