Fixed detekt findings, removed test code

This commit is contained in:
Melih
2020-03-31 13:25:54 +02:00
parent 927c5c02ca
commit ef05fa7e05
12 changed files with 208 additions and 128 deletions

View File

@@ -14,8 +14,8 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
dataBinding {
enabled = true
buildFeatures{
dataBinding = true
}
}

View File

@@ -16,9 +16,6 @@ class App : DaggerApplication() {
.create(this)
)
@Inject
lateinit var item: LaunchDetailItem
override fun onCreate() {
super.onCreate()

View File

@@ -18,12 +18,4 @@ abstract class AppModule {
DetailContributor::class]
)
abstract fun mainActivity(): MainActivity
@Module
companion object {
@JvmStatic
@Provides
fun provdeSomeObject() = LaunchDetailItem(10, "", "Rocket", "Desc")
}
}