QMUIBottomSheet.BottomListSheetBuilder(activity)
.addItem("Item 1")
.addItem("Item 2")
.addItem("Item 3")
.setGravityCenter(true)
.setOnSheetItemClickListener{ dialog, itemView, position, tag->
dialog.dismiss()
Toast.makeText(activity,"Item " + (position +1), Toast.LENGTH_SHORT)
.show()
}.setAddCancelBtn(true).setCancelText("取消")
.setTitle("测试")
.setRadius(8)
.build()
.show()