Damilola Omoyiwola
1 min readJun 6, 2019

--

Hi Vikas,

HorizonMainApplication` in this case is the MainApplication` class which is the base class for my project.

Then, in order to use Dagger2 in the project, a base class that needs to be extended has been provided which is DaggerApplication`. Normally, the Android Application` class contains all android components, then DaggerApplication` class extends it.

--

--

Damilola Omoyiwola
Damilola Omoyiwola

Written by Damilola Omoyiwola

Android Engineer | Occasional Writer

No responses yet