Skip to content

😍 Kotlin 和 Android 的一个美观、流畅且可扩展的对话框 API。

License

Notifications You must be signed in to change notification settings

Heart-Beats/material-dialogs

 
 

Repository files navigation

Android CI Codacy Badge License


Showcase

模块

核心模块是使用本库所必需的基础模块。其他模块是对核心模块的扩展。 请注意,自 Material Dialogs 2.x.x 版本起,本库仅支持 Kotlin。最新的 Java 版本是0.9.6.0,可在此处找到。请注意,0.9.6.0 版本已不受支持,不会对该版本进行错误修复和改进。

核心模块

Core

core模块包含了开始使用本库所需的一切内容。它包含了所有核心功能和常规使用功能。

dependencies {
  ...
  implementation 'io.github.heart-beats.material-dialogs:core:3.3.1'
}

输入模块

Input

input模块包含对核心模块的扩展,例如文本输入对话框。

dependencies {
  ...
  implementation 'io.github.heart-beats.material-dialogs:input:3.3.1'
}

文件模块

Files

files模块包含对核心模块的扩展,例如文件和文件夹选择器。

dependencies {
  ...
  implementation 'io.github.heart-beats.material-dialogs:files:3.3.1'
}

颜色模块

Color

color模块包含对核心模块的扩展,例如颜色选择器。

dependencies {
  ...
  implementation 'io.github.heart-beats.material-dialogs:color:3.3.1'
}

日期时间模块

DateTime

datetime模块包含用于创建日期、时间和日期时间选择器对话框的扩展功能。

dependencies {
  ...
  implementation 'io.github.heart-beats.material-dialogs:datetime:3.3.1'
}

底部表单模块

Bottom Sheets

bottomsheets模块包含将模态对话框转换为底部表单的扩展功能,以及其他功能,例如显示项目网格。也一定要查看此模块的示例项目!

dependencies {
  ...
  implementation 'io.github.heart-beats.material-dialogs:bottomsheets:3.3.1'
}

生命周期模块

Lifecycle

lifecycle模块包含使对话框与 AndroidX 生命周期协同工作的扩展功能。

dependencies {
  ...
  implementation 'io.github.heart-beats.material-dialogs:lifecycle:3.3.1'
}

About

😍 Kotlin 和 Android 的一个美观、流畅且可扩展的对话框 API。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%