Navigation Architecture Component - Dialog Fragments

后端 未结 10 697
[愿得一人]
[愿得一人] 2020-12-24 02:01

Is it possible to use the new Navigation Architecture Component with DialogFragment? Do I have to create a custom Navigator?

I would love to use them with the new fe

10条回答
  •  猫巷女王i
    2020-12-24 02:35

    Version 2.1.0-alpha03 was Released so we can finally use DialogFragments. Unfortunately for me, I have some issues with the backstack when using cancelable dialogs. Probably I have a faulty implementation of my dialogs..

    [LATER-EDIT] My implementation was good, the problem is related to Wrong dialog counting for DialogFragmentNavigator as is described in the issue tracker As a workaround you can have a look on my recommendation

提交回复
热议问题