Created
July 27, 2017 11:23
-
-
Save vestrel00/63f0805e3a380d54f889775e85f48035 to your computer and use it in GitHub Desktop.
A: 7 - ui/example_2/Example2Activity.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 Example2Activity extends BaseActivity { | |
@Override | |
protected void onCreate(@Nullable Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.example_2_activity); | |
if (savedInstanceState == null) { | |
addFragment(R.id.fragment_a_container, new Example2AFragment()); | |
addFragment(R.id.fragment_b_container, new Example2BFragment()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment