@@ -0,0 +1,790 @@
+package kapil.voiceassistedweatherapp.modules;%0A%0Aimport android.speech.SpeechRecognizer;%0A%0Aimport javax.inject.Singleton;%0A%0Aimport dagger.Module;%0Aimport dagger.Provides;%0Aimport kapil.voiceassistedweatherapp.VoiceAssistedWeatherApp;%0Aimport kapil.voiceassistedweatherapp.WeatherPresenter;%0A%0A/**%0A * Created by Kapil on 10/04/17.%0A */%0A%0A@Module%0Apublic class WeatherPresenterModule %7B%0A    private VoiceAssistedWeatherApp voiceAssistedWeatherApp;%0A%0A    public WeatherPresenterModule(VoiceAssistedWeatherApp voiceAssistedWeatherApp) %7B%0A        this.voiceAssistedWeatherApp = voiceAssistedWeatherApp;%0A    %7D%0A%0A    @Singleton%0A    @Provides%0A    WeatherPresenter provideWeatherPresenter(SpeechRecognizer speechRecognizer) %7B%0A        return new WeatherPresenter(voiceAssistedWeatherApp, speechRecognizer);%0A    %7D%0A%7D%0A

Create module for weatherpresenter