Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dagger2 demo retrofit2 activity #22

Open
eurosecom opened this issue Jul 10, 2017 · 1 comment
Open

Dagger2 demo retrofit2 activity #22

eurosecom opened this issue Jul 10, 2017 · 1 comment

Comments

@eurosecom
Copy link
Owner

eurosecom commented Jul 10, 2017

Dagger2 demo with retrofit2 and okhttp3.
by https://github.com/codepath/dagger2-example
edited to retrofit2 and okhttp3
rxjava2

daggdemo1
daggdemo2

eurosecom added a commit that referenced this issue Jul 10, 2017
#22
- layout, modules, components, userscope and activity
eurosecom added a commit that referenced this issue Jul 11, 2017
#22
- rxjava2 retrofit call
eurosecom added a commit that referenced this issue Jul 13, 2017
#22
- annotation @nAmed for @provides Retrofit cached and non_cached
eurosecom added a commit that referenced this issue Jul 15, 2017
#22
- create MyActivitzSubComponent for activity DemoDaggerSubActicity.java
with scope MyActivityScope.java for provide SharedPreferences and
ArrayAdapter
eurosecom added a commit that referenced this issue Jul 16, 2017
#22
- do not get @singleton in subcomponent
- arrazadapter in DemoDaggerSubActivity.java
eurosecom added a commit that referenced this issue Jul 16, 2017
#22
- do not get @singleton in subcomponent
eurosecom added a commit that referenced this issue Aug 25, 2017
@eurosecom
Copy link
Owner Author

Removed.
DemoDaggerSubActivity.java, DemoDaggerRxActivity.java, DemoDaggerActivity.java
MyActivitySubComponent.java, GitHubComponent.java
MyActivityModule.java, GitHubModule.java
All src folder in src_demodagger.rar on GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant