hello everyone
i saw this code and i didnt understand how this guy make this
it passes the actions and show the view, is it a class with higher order functions or what ?
is there a tutorial to learn this kind of code
thanks
Copy code
alert("We can't show your position because you generally disabled the location service for your device.") {
yesButton {
}
neutralPressed("Settings") {
startActivity(Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS))
}
}.show()