Migrate SplashActivity to fragment

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-07-06 13:02:05 +05:30
parent ae1c5a7f92
commit da343e8530
7 changed files with 70 additions and 82 deletions

View File

@@ -21,7 +21,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/mobile_navigation"
app:startDestination="@+id/navigation_apps">
app:startDestination="@id/splashFragment">
<fragment
android:id="@+id/navigation_apps"
@@ -230,6 +230,17 @@
android:name="report"
app:argType="com.aurora.store.data.model.Report" />
</fragment>
<fragment
android:id="@+id/splashFragment"
android:name="com.aurora.store.view.ui.splash.SplashFragment"
android:label="fragment_splash"
tools:layout="@layout/fragment_splash" >
<action
android:id="@+id/action_splashFragment_to_navigation_apps"
app:destination="@id/navigation_apps"
app:popUpTo="@id/splashFragment"
app:popUpToInclusive="true" />
</fragment>
<action
android:id="@+id/action_global_appDetailsFragment"
app:destination="@id/appDetailsFragment" />