Fragmented · December 24, 2018

146: 3 Things 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

    1. Functional / System
    2. Integration
    3. Unit
    4. Tools:
      1. jUnit
      2. Espresso
      3. Spek
  • Keep it simple simple

    1. KISS principle KISS principle - Wikipedia
    2. Examples
      1. Code Duplication
        1. “Extract this into a method”
      2. Lets create a framework for this
      3. Kaushik’s - 3x rule
        • if something is duplicated 3 or more times, think about extracting it
      4. 3/6 Rule - In 6 months, will I be able to understand this in under 3 minutes?

Contact

@fragmentedcast or our Youtube channel @donnfelker and donnfelker (on Instagram) @kaushikgopal and kaushikgopal (on Instagram)

Copyright 2024 Spec Network, Inc.