Dependency Injection in Android using Dagger2

Dependency Injection in Android

Dependency Injection needs a better understanding so let’s break the term Dependency Injection in two parts Dependency and Injection. What is Dependency? Consider the following Java class. public class User { private Database mDatabase; public User() { mDatabase = new Database(); } } In the above class, we are creating the object of class Database…
Read more

Kotlin vs Java. What to choose?

Kotlin vs Java

Where Kotlin really takes off is tackling more inherent issues with Java. Kotlin has more than a few pros that improve Android development and app performance, including: It’s Android-focused : Kotlin was written by the same folks who created popular integrated design environments (IDEs), so its background comes from mobile industry pros who were looking…
Read more