Skip to content

zihuan1/view-grace-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 

Repository files navigation

优雅的实现dialog

    var dialog = defZAlert {
        title = "hello kotlin"
        content = "kt😄"
        okButton("确认") {
            toast("okButton")
        }
        noButton {
            toast("noButton")
        }
        otherButton {
            toast("otherButton")
        }
    }.show()

dependencies {
 	  implementation 'com.github.zihuan1:view-grace-dialog:latest.integration'
}