diff --git a/app/src/main/java/com/trendyol/medusa/MainActivity.kt b/app/src/main/java/com/trendyol/medusa/MainActivity.kt index d38a3ab..b09769e 100644 --- a/app/src/main/java/com/trendyol/medusa/MainActivity.kt +++ b/app/src/main/java/com/trendyol/medusa/MainActivity.kt @@ -64,6 +64,11 @@ class MainActivity : AppCompatActivity(), Navigator.NavigatorListener { navigation = findViewById(R.id.navigation) as BottomNavigationView + multipleStackNavigator.preloadFragment( + fragment = SamplePreloadFragment.newInstance(), + fragmentTag = SamplePreloadFragment.TAG + ) + multipleStackNavigator.initialize(savedInstanceState) val restartRootFragmentCheckBox = findViewById(R.id.restartSwitch) as SwitchCompat findViewById