2022-01-10 21:15:43 +01:00
|
|
|
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-01-10 21:15:43 +01:00
|
|
|
|
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
|
2022-01-10 21:15:43 +01:00
|
|
|
}
|