Skip to main content

Posts

Featured

Dagger 2 Rant

Dependency injection is a relatively simple concept. I mean it is basically just providing the dependencies, which are often objects, to a class. The most common form of this is done by passing the needed objects as parameters in the constructor of another object. For the other methods though, you may need an injection framework such as Dagger which you can use to inject dependency directly to a member variable or even a method. But holy balls, was it hard for me to get a good grasp of how to use Dagger 2 in my project. Once I understood it, the concept and framework seems pretty simple, but due to the different methods and versions in Dagger, it took me quite a while to get comfortable enough to use it. Tutorials were all over the place having different ways of doing what was essentially the same thing. Learning it shouldn't be that hard, I see an opportunity in there for someone to create an updated tutorial with good coverage of the things you could do in Dagger especially with

Latest Posts

My GWA Calculator Side Project

Vim Struggles

Is Excelling in Academics in Computer Science at UST Worth it?

Making the most out of an Internship

Things I wish someone told me on my first year in UST as a Computer Science student

MVP Pattern in Android Using Kotlin

2 Important skills I learned in programming

Icon Pack Support for Sleek Launcher

Sleek Launcher