Add the Android Navigation lib from Android Jetpack.
I am wondering, would the lib help me to:
Assert that listeners are attached? When loading a Fragment or DialogFragment, I often use the onAttach() function to set a listener. I would like to have a way to make sure that the listener is populated during testing to test the app will work.
Test Intents during navigation? This can already be done via Espresso Intents, but perhaps this lib makes this a little easier?
Any other testing functionality? What benefits does this lib provide to me especially when it comes to finding bugs early instead of at runtime.
Add the Android Navigation lib from Android Jetpack.
I am wondering, would the lib help me to:
Assert that listeners are attached? When loading a Fragment or DialogFragment, I often use the onAttach() function to set a listener. I would like to have a way to make sure that the listener is populated during testing to test the app will work.
Test Intents during navigation? This can already be done via Espresso Intents, but perhaps this lib makes this a little easier?
Any other testing functionality? What benefits does this lib provide to me especially when it comes to finding bugs early instead of at runtime.