Created
April 13, 2019 19:30
-
-
Save renanboni/4003e8a4ee73121ec6b1c17cd0ac7a13 to your computer and use it in GitHub Desktop.
This file contains 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
class FirstPageEvents { | |
companion object { | |
private const val FIRST_PAGE_BUTTON_A = "first_page_button_a" | |
private const val FIRST_PAGE_BUTTON_B = "first_page_button_b" | |
fun onFirstButtonClicked() = Event(FIRST_PAGE_BUTTON_A) | |
fun onSecondButtonClicked() = Event(FIRST_PAGE_BUTTON_B) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment