Created
July 26, 2017 15:53
-
-
Save vestrel00/88df6e14d0febd5aa0bdd9a75ddd11b9 to your computer and use it in GitHub Desktop.
A: 4 - util/PerActivityUtil.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PerActivity | |
public final class PerActivityUtil { | |
private final Activity activity; | |
@Inject | |
PerActivityUtil(Activity activity) { | |
this.activity = activity; | |
} | |
public String doSomething() { | |
return "PerActivityUtil: " + hashCode() + ", Activity: " + activity.hashCode(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment