Outcall: Hotel and home visits
You must be logged in to view this content. Please click the button below to log in.Login
Subscribe to RSS
Dependency injection is quite interesting topic and to understand it perfectly it is very important to learn the basics of it and learn it in depth. So I am planning to explain it in two parts. This post will explain what dependency injection is, its benefit and different popular DI options which we can use in our Android projects. It seems little theoretical to you to grasp the basics. Any business application is made up of two or more classes and these classes collaborate with each other to perform some operation. Traditionally, we create the instance of dependent class object and do the required operations.
Android , Dependency injection. Back when I started writing Android apps in things were a little different. Apps were a whole new world of software development and everything was evolving, no one took apps too seriously and they were just a bit of fun. Fast forward to the present day and the mobile app landscape has totally changed. Apps are now big business and are becoming cornerstones of companies strategies. We know our customers love using our apps and so we see it as really important that we create apps that are robust and give a fantastic user experience.
Android is the world's most popular mobile platform. It powers phones, tablets, watches, TVs, cars, and anything your imagination can dream up. Find balance with new Digital Wellbeing tools and controls.
Dependency Injection on Android
Dealing with dependency injection is one complex concept that I managed to understand before coming into the JVM space. I say this because Dagger-2 had complicated the concept for me when I came into android. Understanding how to arrange your code to accomplish what you wanted, took a lot of research and re-explaining.