Modularizing Android Functions – Marvin Ramin
Most Android purposes consist of 1 large, monolithic utility venture. As your utility grows this single module can develop into more durable and more durable to handle, tasks between groups develop into unclear and construct instances develop. With the introduction of Android Prompt Apps the discussions about finest modularize Android purposes have additionally elevated.
This discuss will focus on why it is best to contemplate splitting up your codebase into a number of, smaller modules and how one can get began in doing so. It’ll present how a refactoring in direction of a modularized utility may also help you enhance the structure of your utility. It’ll additionally focus on different advantages of a modularized utility similar to clearer interfaces and tasks of parts and probably quicker construct instances. Whereas Android Prompt Apps have additionally pushed the discussions about finest modularize Android purposes they won’t be a spotlight on this discuss.
As modularizing an utility adjustments the best way you work together with the construct system this discuss will even present how your construct setup and construct instances would possibly change and the way totally different construct programs (similar to Gradle, Buck and Bazel) work together with a number of modules. As most purposes use Gradle as their construct system this will even be the main focus on this discuss.
source