Android alert dialog using Kotlin

During the flow of any app we often need to prompt the user to make some decision e.g. Deleting a file , posting comment etc . Below is the most simple way to show a promt . Here we are using AlertDialog to show a single button dialog , we can display upto three buttons using AlertDialog .

Leave a Reply

Your email address will not be published. Required fields are marked *