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