-
Notifications
You must be signed in to change notification settings - Fork 8
Use with Fragments
kyleduo edited this page Mar 12, 2018
·
1 revision
Rabbits was designed to support different pages. Each type of page has a paired Navigator. By default, Rabbits create a Navigator for Activity and you can even change it.
So if you want support navigation to Fragments, since Fragments are managed by Activities. You need register a Navigator for Fragment type and handle the navigation logic.
Navigator for Fragments and one for Fallbacks have not difference so I’m not going talk more about this. A full example can be found in the Demo project.