1

I have an Android project with two modules, let's call them Module A and Module B. In Module A, I have two activities, A and B. In Module B, I have an activity named X. I'm trying to achieve a sequential flow where I start Activity X from Activity A and then start Activity B from Activity X.

whenever i am trying to do so using intent or using navigator interface,i am getting circular dependency error.

2
  • You cannot have Module A depend on Module B and have Module B depend on Module A. Most likely, you will need this navigation logic to reside somewhere else, such as in an app module that depends on both Module A and Module B. Commented Nov 24, 2023 at 12:35
  • @CommonsWare Could you please provide some example to achieve that Commented Nov 24, 2023 at 13:24

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.