Navigation Architecture Component - Dialog Fragments

后端 未结 10 694
[愿得一人]
[愿得一人] 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条回答
  •  醉酒成梦
    2020-12-24 02:25

    One option would be to just use a regular fragment and make it look similar to a dialog. I found it was not worth the hassle so I used the standard way using show(). If you insist See here for a way of doing it.

提交回复
热议问题