terrakok / Cicerone

🚦 Cicerone is a lightweight library that makes the navigation in an Android app easy.
Other
2.58k stars 218 forks source link

Activity -> Fragment deeplinking #175

Open dmitriy1morozov opened 2 years ago

dmitriy1morozov commented 2 years ago

Is it possible to create a deeplink or chain with activity->fragment? I know that it is easy to implement deeplinking with Cicerone in Single Activity, however if I have 2 activities that may be an issue.

E.g. Activity1 calls a deeplink to navigate to Activity2 and open a Fragment2 in Activity2 as a root screen. How to better achieve this?

Probably it would be a good idea to make Screen class parcelable/serializable, then it will be possible to pass Screens to new Activity via Intent extras.