skydoves / GithubFollows

:octocat: A demo project based on MVVM architecture and material design & animations.
MIT License
294 stars 46 forks source link

General Refactoring of Application Class and AppModule #6

Closed devKshitijJain closed 6 years ago

devKshitijJain commented 6 years ago

Generally, to name Application class we should follow the convention as AppName+Application. In AppModule we can use [] instead of arrayOf Extract the following code to a variable to use at multiple places

DaggerAppComponent.builder()
           .application(this)
           .build()