Skip to content

Commit fabe887

Browse files
authored
Merge pull request #286 from segmentio/repo-sync
repo sync
2 parents 72da4f7 + 32c2e3c commit fabe887

File tree

1 file changed

+4
-0
lines changed
  • src/connections/sources/catalog/libraries/mobile/kotlin-android

1 file changed

+4
-0
lines changed

src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ To get started with the Analytics-Kotlin mobile library:
4141
Segment recommends you to install the client in your application subclass.
4242
4343
```java
44+
// Add required imports
45+
import com.segment.analytics.kotlin.android.Analytics
46+
import com.segment.analytics.kotlin.core.*
47+
4448
// Create an analytics client with the given application context and Segment write key.
4549
// NOTE: in android, application context is required to pass as the second parameter.
4650
Analytics("YOUR_WRITE_KEY", applicationContext) {

0 commit comments

Comments
 (0)