January 2018
Intermediate to advanced
434 pages
14h 1m
English
Let's follow the mentioned steps to create a dialog in Kotlin:
alert("A simple alert","Alert") { }.show()

alert("Would you like some action?","Alert") { yesButton { toast("Clicked on Yes") } noButton { toast("Clicked on No") } neutralPressed("Meh"){ toast("Not interest") }}.show()
Read now
Unlock full access