Created
March 12, 2018 16:53
-
-
Save vamsitallapudi/c24e72c92c7c83b317b7a10735e72926 to your computer and use it in GitHub Desktop.
Run Eg
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
Button(this).run { | |
text = "Login" | |
background = ContextCompat.getDrawable(context,R.drawable.abc_btn_radio_material) | |
setOnClickListener { | |
openNextScreen() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment