Use eventbus to navigate from GoogleFragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -69,7 +69,11 @@
|
||||
android:id="@+id/accountFragment"
|
||||
android:name="com.aurora.store.view.ui.account.AccountFragment"
|
||||
android:label="@string/title_account_manager"
|
||||
tools:layout="@layout/fragment_account" />
|
||||
tools:layout="@layout/fragment_account" >
|
||||
<action
|
||||
android:id="@+id/action_accountFragment_to_googleFragment"
|
||||
app:destination="@id/googleFragment" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/settingsFragment"
|
||||
android:name="com.aurora.store.view.ui.preferences.SettingsFragment"
|
||||
@@ -246,6 +250,9 @@
|
||||
app:launchSingleTop="true"
|
||||
app:popUpTo="@id/mobile_navigation"
|
||||
app:popUpToInclusive="true" />
|
||||
<action
|
||||
android:id="@+id/action_splashFragment_to_googleFragment"
|
||||
app:destination="@id/googleFragment" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/googleFragment"
|
||||
@@ -256,6 +263,13 @@
|
||||
app:destination="@id/splashFragment"
|
||||
app:popUpTo="@id/splashFragment"
|
||||
app:popUpToInclusive="true" />
|
||||
<action
|
||||
android:id="@+id/action_googleFragment_to_accountFragment"
|
||||
app:destination="@id/accountFragment"
|
||||
app:popUpTo="@id/accountFragment"
|
||||
app:popUpToInclusive="true" />
|
||||
<argument android:name="destination"
|
||||
app:argType="integer" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/onboardingFragment"
|
||||
|
||||
Reference in New Issue
Block a user