In my project, I have navigation graph/component w...
# compose-android
v
In my project, I have navigation graph/component which routes to multiple fragments. Of course, its multi-module project so different nav graphs are linked in app’s nav graph. Now, what I’m doing is I’m using a single fragment in one specific module where I use compose navigation which has multiple composables within it. Problem is, it gives error or app crashes when I call some other modules frgament. Below is the sample error “java.lang.NoSuchMethodError: No virtual method” To fix this, I just need to copy navigation-compose library in other module where compose navigation is not yet used solve the problem which is quite strange to me. Moreover, I referred couple couple of blogs along with github code repos but answer is not specific to my requirement Refs https://developer.android.com/develop/ui/compose/navigation#interoperability https://issuetracker.google.com/issues/265480755 I urge you to help me with the best practice for this because converting whole app into compose & wait till that point does not make sense to me but same time I’m ready to accept why its not possible or good.
@Ian Lake Can you please take a look at this?