Skip to content

Instantly share code, notes, and snippets.

@manijshrestha

manijshrestha/ViewEvent.kt Secret

Last active Oct 14, 2018
Embed
What would you like to do?
Kotlin Multiplatform ViewEvent
package com.manijshrestha.kotlinmplogging.analytics
data class ViewEvent(private val pageName: String) : Event {
override fun eventName() = "Page_Viewed"
override fun eventProperties() = mapOf(
"page_name" to pageName
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.