0

If two activities (for example: Activity A and a Tabbed Activity B) have different fragments each (ex: two fragments for Activity A... and two other fragments for Tabbed Activity B), then how to move from a fragment of activity A and go to a specific fragment, held by the other Tabbed Activity B? (Please see a picture here )

For example, navigating:

From : second_fragment_a of ActivityA

To : second_fragment_b , of TabbedActivityB (meaning being able to directly choose any fragment of the (other) Tabbed activity to load)

Please:

  1. It is not about how to navigate between fragments of a same activity, or from a fragment to another activity.

  2. Can we call it from a drawer navigation and a toolbar...? But no matter how you can help me with that question, as clear as possible because I'm new to Android Studio, I'll really appreciate!

Thanks!!!

  • Does this answer your question? [How can I switch between two fragments, without recreating the fragments each time?](https://stackoverflow.com/questions/22713128/how-can-i-switch-between-two-fragments-without-recreating-the-fragments-each-ti) – Med Elgarnaoui Mar 09 '22 at 20:04

0 Answers0