Created
July 10, 2019 21:17
-
-
Save zsoltk/646fff49bf1c01031d88d9910126c5dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal object AnalyticsTracker : Consumer<AnalyticsTracker.Event> { | |
sealed class Event { | |
object ProfileImageClicked: Event() | |
object EditButtonClicked : Event() | |
} | |
override fun accept(event: AnalyticsTracker.Event) { | |
// TODO Implement actual tracking | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment