We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72da4f7 + 32c2e3c commit fabe887Copy full SHA for fabe887
src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md
@@ -41,6 +41,10 @@ To get started with the Analytics-Kotlin mobile library:
41
Segment recommends you to install the client in your application subclass.
42
43
```java
44
+ // Add required imports
45
+ import com.segment.analytics.kotlin.android.Analytics
46
+ import com.segment.analytics.kotlin.core.*
47
+
48
// Create an analytics client with the given application context and Segment write key.
49
// NOTE: in android, application context is required to pass as the second parameter.
50
Analytics("YOUR_WRITE_KEY", applicationContext) {
0 commit comments