dagger-android-sample icon indicating copy to clipboard operation
dagger-android-sample copied to clipboard

Update

Open AlirezaAkbarix opened this issue 8 years ago • 3 comments

I think it's time to update the sample You're using these dependencies: classpath 'com.android.tools.build:gradle:0.14.1' //!!!!!! compile 'com.google.dagger:dagger:2.0-SNAPSHOT' apt 'com.google.dagger:dagger-compiler:2.0-SNAPSHOT' provided 'org.glassfish:javax.annotation:10.0-b28'

As your sample is highly referenced, I suggest update this repo. thanks.

AlirezaAkbarix avatar Oct 13 '16 09:10 AlirezaAkbarix

You're correct that this sample is woefully out of date. It is also incomplete. The Dagger team is working on a full example that we plan to finish by the end of the year.

gk5885 avatar Oct 13 '16 14:10 gk5885

Was that sample ever finished?

NoahAndrews avatar Sep 01 '17 00:09 NoahAndrews

Checking in again! I've hard the hardest time trying to find any google-approved example usage of dagger in Android. For example, this sample seems to rely on module instances, which supposedly aren't recommended and the team has "considered removing" https://google.github.io/dagger/semantics/

sophiataskova avatar Aug 03 '18 23:08 sophiataskova