Created
July 27, 2017 12:17
-
-
Save vestrel00/4f3b72e307f34b48d0986c2122b8187d to your computer and use it in GitHub Desktop.
A: 8 - ui/example_3/child_fragment/Example3ChildFragment.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
public final class Example3ChildFragment extends BaseFragment implements View.OnClickListener { | |
... | |
@Inject | |
PerChildFragmentUtil perChildFragmentUtil; | |
... | |
private void onDoSomethingClicked() { | |
String something = singletonUtil.doSomething(); | |
something += "\n" + perActivityUtil.doSomething(); | |
something += "\n" + perFragmentUtil.doSomething(); | |
something += "\n" + perChildFragmentUtil.doSomething(); | |
showSomething(something); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment