Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class ApplicationInitializer @Inject constructor(
private val provideOkHttp: Provider<OkHttpClient>,
private val provideGson: Provider<Gson>
) {
fun initTracking() {
thread {
val okhttp = provideOkHttp.get()
val gson = provideGson.get()
// init async
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment