File tree Expand file tree Collapse file tree
commons/src/main/java/com/mdgd/j_commons/fragment Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ buildscript {
2121 maven { url ' https://jitpack.io' }
2222 }
2323 dependencies {
24- classpath ' com.android.tools.build:gradle:3.4.0 '
24+ classpath ' com.android.tools.build:gradle:3.4.1 '
2525 classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
2626 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
2727 // NOTE: Do not place your application dependencies here; they belong
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ protected void onCreate(Bundle savedInstanceState) {
2626 super .onCreate (savedInstanceState );
2727
2828 container = findViewById (getFragmentContainerId ());
29+ setupFirstFragment (savedInstanceState );
30+ }
31+
32+ protected void setupFirstFragment (Bundle savedInstanceState ) {
2933 if (savedInstanceState == null ) addFirstFragment ();
3034 else {
3135 final List <Fragment > fragments = getSupportFragmentManager ().getFragments ();
You can’t perform that action at this time.
0 commit comments