2021年1月26日星期二

How to disable Android Navigation at res/navigation/nav_graph.xml

I have deleted the Fragment I created and its layout as I don't need it anymore.

But the Fragment keeps coming back except its layout (that is why I'm getting a missing layout.)

I saw it in the res/navigation/nav_graph.xml. So I decided to delete the whole nav_graph.xml

On my third try, I included the deletion of the following implementation setup as well:

  • implementation 'androidx.navigation:navigation-fragment:2.3.2'
  • implementation 'androidx.navigation:navigation-ui:2.3.2'

But these two returned as well..

What is the trick of totally deleting them for good?

https://stackoverflow.com/questions/65911475/how-to-disable-android-navigation-at-res-navigation-nav-graph-xml January 27, 2021 at 09:02AM

没有评论:

发表评论