Navigation in developing Android apps is quite important and you should think twice what library suits (or your own solution) most and how it will be convenient to use when the app becomes bigger. Also, it might be good to think about how easy it will be to change your implementation to another one.
Before we will start, let me tell a story. Let's call it like this "How we made project modular and why I hated our navigation".
We had a single module project and everything worked fine except building time, that is because we used Dagger and it…
Have you ever thought how to run UI tests without lots of devices, how to publish the app without visiting the Google Play Console or maybe how to make a “program” that will check your code with lint, then run the unit and the UI tests, and finally, publish the app on Google Play? If so and you did not find a solution, I will show you how it can be done.
As a CI service, we will use CircleCI because they give you 1500 free build minutes per month and also it is possible to build projects that are…
Have you ever written something like this to manage the Dagger components?
In my opinion, managing the Dagger components this way forces you to have a huge application class and also you have to write the
removeSomeComponent code by yourself. Then, in the activity or fragment, you have to get the application, cast it to the
YourApplicationClass. Finally, call the needed method to get the component.
Another way is to have an
appComponent in the application class and build a feature component right in the activity or fragment. Now you don’t have a huge application class, but still…