Package-level declarations

Types

Link copied to clipboard
object AppDialog

AppDialog:是一个通用的 Dialog 和 DialogFragment 组件库,支持任意样式和交互的个性化实现,帮助开发者快速构建灵活的提示对话框。

Link copied to clipboard
open class AppDialogConfig @JvmOverloads constructor(context: Context, @LayoutRes val layoutId: Int = R.layout.app_dialog) : BaseDialogConfig

App对话框配置

Link copied to clipboard
open class BaseDialogConfig @JvmOverloads constructor(@LayoutRes val layoutId: Int = R.layout.app_dialog) : Parcelable

对话框配置基类

Link copied to clipboard
class ViewHolder(rootView: View)

ViewHolder主要提供视图控件的一些常用设置

Functions

Link copied to clipboard
fun appDialogConfig(context: Context, @LayoutRes layoutId: Int = R.layout.app_dialog, block: AppDialogConfig.() -> Unit): AppDialogConfig

DSL

Link copied to clipboard
@JvmName(name = "appDialogConfigWithContext")
fun Context.appDialogConfig(@LayoutRes layoutId: Int = R.layout.app_dialog, block: AppDialogConfig.() -> Unit): AppDialogConfig
@JvmName(name = "appDialogConfigWithContext")
fun Fragment.appDialogConfig(@LayoutRes layoutId: Int = R.layout.app_dialog, block: AppDialogConfig.() -> Unit): AppDialogConfig

扩展DSL

Link copied to clipboard
fun baseDialogConfig(@LayoutRes layoutId: Int = R.layout.app_dialog, block: BaseDialogConfig.() -> Unit): BaseDialogConfig

DSL