Functions
Link copied to clipboard
open fun createDialog(context: Context, contentView: View, widthRatio: Float, isCancel: Boolean): Dialog
open fun createDialog(context: Context, contentView: View, @StyleRes styleId: Int, widthRatio: Float): Dialog
open fun createDialog(context: Context, contentView: View, @StyleRes styleId: Int, widthRatio: Float, isCancel: Boolean): Dialog
open fun createDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float): Dialog
open fun createDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float, isCancel: Boolean): Dialog
open fun createDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float, x: Int, y: Int, isCancel: Boolean): Dialog
open fun createDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float, x: Int, y: Int, horizontalMargin: Float, verticalMargin: Float, isCancel: Boolean): Dialog
open fun createDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float, x: Int, y: Int, horizontalMargin: Float, verticalMargin: Float, horizontalWeight: Float, verticalWeight: Float, isCancel: Boolean): Dialog
创建弹框
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun showDialog(context: Context, contentView: View, @StyleRes styleId: Int, widthRatio: Float, isCancel: Boolean)
open fun showDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float)
open fun showDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float, isCancel: Boolean)
open fun showDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float, x: Int, y: Int, isCancel: Boolean)
open fun showDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float, x: Int, y: Int, horizontalMargin: Float, verticalMargin: Float, isCancel: Boolean)
open fun showDialog(context: Context, contentView: View, @StyleRes styleId: Int, gravity: Int, widthRatio: Float, x: Int, y: Int, horizontalMargin: Float, verticalMargin: Float, horizontalWeight: Float, verticalWeight: Float, isCancel: Boolean)
显示弹框
Link copied to clipboard
open fun showDialogFragment(fragmentManager: FragmentManager, dialogFragment: DialogFragment): String
open fun showDialogFragment(fragmentManager: FragmentManager, dialogFragment: DialogFragment, tag: String): String
显示DialogFragment