Created
July 29, 2020 21:36
-
-
Save marcherdiego/3a06b3fa4e53833212b78e09897652ea 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
@Subscribe | |
fun onSomebuttonClicked(event: SomebuttonClickedEvent) { | |
val activity = view.getActivity() ?: return | |
val someIntent = Intent(activity, SomeActivity::class.java) | |
activity.startActivity(someIntent) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment