Created
July 26, 2017 18:51
-
-
Save vestrel00/09abb04bfb2efaea7392645ffb698b55 to your computer and use it in GitHub Desktop.
A: 6 - ui/example_1/Example1Activity.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 Example1Activity extends BaseActivity { | |
@Override | |
protected void onCreate(@Nullable Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.example_1_activity); | |
if (savedInstanceState == null) { | |
addFragment(R.id.fragment_container, new Example1Fragment()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment