Created
July 26, 2017 16:04
-
-
Save vestrel00/475bc08c02ede148d1ef8a8d9651ea87 to your computer and use it in GitHub Desktop.
A: 4 - util/PerFragmentUtil.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
@PerFragment | |
public final class PerFragmentUtil { | |
private final Fragment fragment; | |
@Inject | |
PerFragmentUtil(@Named(BaseFragmentModule.FRAGMENT) Fragment fragment) { | |
this.fragment = fragment; | |
} | |
public String doSomething() { | |
return "PerFragmentUtil: " + hashCode() + ", Fragment: " + fragment.hashCode(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment