Skip to content

Samples at a glance

Jose Alcérreca edited this page Jul 18, 2016 · 4 revisions

Check out each project's README for more information and reasoning.

Sample Complexity / Learning cost Testability Dexcount after shrink* Typical use case / advantages
todo-mvp Low High 11386 (100%) No dependencies, low learning cost.
todo-mvp-clean Medium-Low Very High +1% Large development teams, focus on testability and maintainability
todo-mvp-dagger Medium Very High +2% Full flexibility to create variants for automated and manual testing
todo-databinding Medium-Low High +10% Cleaner layouts with complex data models
todo-mvp-loaders Medium-Low Medium-high +1% Asynchronous loading with no external dependencies
todo-mvp-contentproviders Medium Medium -0.5% Sharing data with other apps or widgets

* The dex method count is particular to this app and won't grow linearly. For example, bigger projects will probably benefit from using Data Binding compensating the overhead.

APK size

The differences in APK size are insignificant (less than 1%), with the exception of the Data Binding sample which adds 66 kilobytes (5% more than todo-mvp). As with the dex method count, bigger projects won't be affected.

Clone this wiki locally