In this episode of Fragmented, Donn digs into three things that every Android developer needs to know.
-
Dependency Injection
1. Constructor\_setter\_method injection 2. Service Locators or other DI frameworks 3. Common Frameworks 1. [Dagger](https://google.github.io/dagger/android.html) 2. [Koin](https://github.com/InsertKoinIO/koin) 3. [Kodein](https://github.com/Kodein-Framework/Kodein-DI) 4. [ToothPick](https://github.com/stephanenicolas/toothpick)
-
How to test
-
Keep it simple simple
- KISS principle KISS principle – Wikipedia
- Examples
- Code Duplication
- “Extract this into a method”
- Lets create a framework for this
- Kaushik’s – 3x rule
- if something is duplicated 3 or more times, think about extracting it
- 3/6 Rule – In 6 months, will I be able to understand this in under 3 minutes?
- Code Duplication
-
Contact
- @fragmentedcast or our Youtube channel
- @donnfelker and donnfelker (on Instagram)
- @kaushikgopal and kaushikgopal (on Instagram)