18 lines
498 B
Kotlin
18 lines
498 B
Kotlin
package info.nightscout.androidaps.tile
|
|
|
|
import dagger.android.AndroidInjection
|
|
import javax.inject.Inject
|
|
|
|
class TempTargetTileService : TileBase() {
|
|
|
|
@Inject lateinit var tempTargetSource: TempTargetSource
|
|
|
|
// Not derived from DaggerService, do injection here
|
|
override fun onCreate() {
|
|
AndroidInjection.inject(this)
|
|
super.onCreate()
|
|
}
|
|
|
|
override val resourceVersion = "TempTargetTileService"
|
|
override val source get() = tempTargetSource
|
|
}
|