AndroidAPS/wear/src/main/java/info/nightscout/androidaps/tile/TempTargetTileService.kt

19 lines
498 B
Kotlin
Raw Normal View History

package info.nightscout.androidaps.tile
2022-04-23 12:35:09 +02:00
import dagger.android.AndroidInjection
import javax.inject.Inject
2022-01-11 10:38:20 +01:00
class TempTargetTileService : TileBase() {
2022-04-23 12:35:09 +02:00
@Inject lateinit var tempTargetSource: TempTargetSource
// Not derived from DaggerService, do injection here
override fun onCreate() {
AndroidInjection.inject(this)
super.onCreate()
}
2022-01-18 20:54:39 +01:00
override val resourceVersion = "TempTargetTileService"
2022-04-23 12:35:09 +02:00
override val source get() = tempTargetSource
}