mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Add hilt
This commit is contained in:
parent
b0fa3be520
commit
763521aabf
7 changed files with 59 additions and 6 deletions
|
|
@ -0,0 +1,17 @@
|
|||
package com.github.damontecres.dolphin
|
||||
|
||||
import android.app.Application
|
||||
import dagger.hilt.android.HiltAndroidApp
|
||||
|
||||
@HiltAndroidApp
|
||||
class DolphinApplication: Application() {
|
||||
init {
|
||||
instance = this
|
||||
}
|
||||
|
||||
companion object{
|
||||
lateinit var instance: DolphinApplication
|
||||
private set
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue