Created
June 15, 2016 06:02
-
-
Save vaibhav-jani/036a0fd336a0d83b34fb03784fbe7d97 to your computer and use it in GitHub Desktop.
Multiple activities in samescreen.
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
| LocalActivityManager mgr = getLocalActivityManager(); | |
| Intent i = new Intent(this, SomeActivity.class); | |
| Window w = mgr.startActivity("unique_per_activity_string", i); | |
| View wd = w != null ? w.getDecorView() : null; | |
| if(wd != null) { | |
| mSomeContainer.addView(wd); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment