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 create
DaggerTripKit
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 launch
FetchRegionsService
.
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)