feat: toast
This commit is contained in:
@@ -6,6 +6,7 @@ import com.yuanxuan.rokid.network.http.ApiRepository
|
||||
import com.yuanxuan.rokid.network.http.ApiService
|
||||
import com.yuanxuan.rokid.network.http.RetrofitClient
|
||||
import com.yuanxuan.rokid.network.websocket.WebSocketManager
|
||||
import com.yuanxuan.rokid.toast.ToastManager
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
|
||||
class ApplicationDependencyProvider(val context: Application, val scope: CoroutineScope) :
|
||||
@@ -31,4 +32,11 @@ class ApplicationDependencyProvider(val context: Application, val scope: Corouti
|
||||
)
|
||||
}
|
||||
|
||||
override fun provideToastManager(): ToastManager {
|
||||
return ToastManager(
|
||||
context = context,
|
||||
scope = scope
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user