Fix crashing, loading albums

main
h4h13 2019-09-18 01:06:52 +05:30
parent d7ab358e60
commit 3858d65a57
5 changed files with 0 additions and 13 deletions

View File

@ -20,7 +20,6 @@ import code.name.monkey.retromusic.mvp.presenter.GenresPresenter
import code.name.monkey.retromusic.mvp.presenter.GenresPresenter.GenresPresenterImpl
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
/**
* Created by hemanths on 2019-09-04.
@ -29,14 +28,12 @@ import javax.inject.Singleton
class GenreModule {
@Provides
@Singleton
fun providesGenresPresenter(presenter: GenresPresenterImpl): GenresPresenter {
return presenter
}
@Provides
@Singleton
fun providesGenreDetailsPresenter(presenter: GenreDetailsPresenterImpl): GenreDetailsPresenter {
return presenter
}

View File

@ -20,7 +20,6 @@ import code.name.monkey.retromusic.mvp.presenter.PlaylistsPresenter
import code.name.monkey.retromusic.mvp.presenter.PlaylistsPresenter.PlaylistsPresenterImpl
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
/**
* Created by hemanths on 2019-09-04.
@ -28,13 +27,11 @@ import javax.inject.Singleton
@Module
class PlaylistModule {
@Provides
@Singleton
fun providesPlaylistSongPresenter(presenter: PlaylistSongsPresenterImpl): PlaylistSongsPresenter {
return presenter
}
@Provides
@Singleton
fun providesPlaylistsPresenter(presenter: PlaylistsPresenterImpl): PlaylistsPresenter {
return presenter
}

View File

@ -15,12 +15,10 @@
package code.name.monkey.retromusic.dagger.module
import android.content.Context
import code.name.monkey.retromusic.providers.RepositoryImpl
import code.name.monkey.retromusic.providers.interfaces.Repository
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
/**
* Created by hemanths on 2019-09-04.
@ -29,7 +27,6 @@ import javax.inject.Singleton
class RepositoryModule {
@Provides
@Singleton
fun providesRepository(context: Context): Repository {
return RepositoryImpl(context)
}

View File

@ -18,7 +18,6 @@ import code.name.monkey.retromusic.mvp.presenter.SearchPresenter
import code.name.monkey.retromusic.mvp.presenter.SearchPresenter.SearchPresenterImpl
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
/**
* Created by hemanths on 2019-09-04.
@ -27,7 +26,6 @@ import javax.inject.Singleton
class SearchModule {
@Provides
@Singleton
fun providesSearchPresenter(presenter: SearchPresenterImpl): SearchPresenter {
return presenter
}

View File

@ -18,7 +18,6 @@ import code.name.monkey.retromusic.mvp.presenter.SongPresenter
import code.name.monkey.retromusic.mvp.presenter.SongPresenter.SongPresenterImpl
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
/**
* Created by hemanths on 2019-09-04.
@ -26,7 +25,6 @@ import javax.inject.Singleton
@Module
class SongModule {
@Provides
@Singleton
fun providesSongPresenter(presenter: SongPresenterImpl): SongPresenter {
return presenter
}