Dependency Injection in Android using Dagger2

Dependency Injection in Android using Dagger2

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

Unit testing in Android

Unit testing in Android

For any software development testing is an important phase where one has to check the stability and reliability of the software. Testing can be done in two different ways: Manual testing: Time consuming and tedious: Since test cases are executed by human, it is very slow and tedious. Huge resources required: More testers are required…
Read more