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

19 lines
480 B
Kotlin
Raw Normal View History

2021-12-14 12:17:04 +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 ActionsTileService : TileBase() {
2022-04-23 12:35:09 +02:00
@Inject lateinit var actionSource: ActionSource
// 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 = "ActionsTileService"
2022-04-23 12:35:09 +02:00
override val source get() = actionSource
2021-12-14 12:17:04 +01:00
}