Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fragmentA跳转fragmentA的问题 #114

Open
GuangNian10000 opened this issue Jul 4, 2022 · 1 comment
Open

fragmentA跳转fragmentA的问题 #114

GuangNian10000 opened this issue Jul 4, 2022 · 1 comment

Comments

@GuangNian10000
Copy link

A->A怎么才能是新建一个页面,而不是之前的页面。
A是一个通用详情页,而这个页面有点击事件也会跳转到详情页A,当我在A跳转到A时,不会new一个页面而且数据页不会刷新。这种情况怎么解决

@tiansan
Copy link

tiansan commented Sep 29, 2022

<fragment
    android:id="@+id/fragmentA1"
    android:name="FragmentA"
    android:label="FragmentA">
    <action
        android:id="@+id/action_FragmentA1_to_FragmentA2"
        app:destination="@id/fragmentA2"
        app:enterAnim="@anim/slide_in_right"
        app:exitAnim="@anim/slide_out_left"
        app:popEnterAnim="@anim/slide_in_left"
        app:popExitAnim="@anim/slide_out_right" />
</fragment>

<fragment
    android:id="@+id/fragmentA2"
    android:name="FragmentA"
    android:label="FragmentA">
</fragment>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants