Last active
January 16, 2019 18:58
-
-
Save wellingtoncosta/6f0fe9c9ad86f4f7c5a52e6b2aa5d454 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 AwesomeActivity : Activity(), CallbackListener { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstance) | |
setContentView(R.layout.awesome_activity) | |
} | |
override fun onCallback() { | |
Toast.makeText(context, "onCallback called!", Toast.LENGTH_LONG).show() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment