tripkit-android / com.skedgo / TripKit / initialize

initialize

open static fun initialize(@NonNull context: Context, @NonNull tripKit:TripKit):Unit

This gives a chance to provide a custom [`TripKit`](index.md). One idea is that we can createDaggerTripKit w/ some customized modules.

Note that you should only use this when you totally understand what you're doing. Otherwise, just go with `[#initialize(Configs)`](./initialize.md) instead.

Parameters

context - Context: A [`Context`](#) to launchFetchRegionsService.

tripKit - TripKit: Can be created via `[DaggerTripKit](#).open static fun initialize(configs: [Configs](../../com.skedgo.tripkit/-configs/index.md)!): [Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)