Skip to content

Instantly share code, notes, and snippets.


PatilShreyas/HOF1.kt Secret

Last active Jan 1, 2021
What would you like to do?
fun Button.onClick(action: () -> Unit) {
fun initUI() {
button.onClick {
// Do something
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment