Hi, there’s a conversion from Ui to DialogInterface.OnClickListener. You
can just wrap your code into Ui:
positiveYes(Ui {
Log.d("editorcheck", "here")
setupActivity()
save(shouldShutDownAfter)
})
It also helps emphasize the fact that the handler will be run on the UI
thread.
Nick
--
You received this message because you are subscribed to the Google Groups
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.