提供常用的提示框,输入框,弹窗等
GitHub地址
文章目录
GitHub地址
环境配置
Step 1. Add the JitPack repository to your build file
Step 2. Add the dependency
使用方法介绍
1. 选择dialog
2. 确认dialog
3. 可以输入内容的确认框
4.连接dialog
5. 加载dialog
6. 密码输入dialog
环境配置
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle(Project) at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
Add it in your build.gradle(Module) at the end of dependencies:
dependencies {
implementation 'com.github.HanHuoBin:BaseDialog:1.2.0'
}
使用方法介绍
1. 选择dialog
ActionSheetDialog dialog = new ActionSheetDialog(this).builder().setTitle("请选择")
.addSheetItem("相册", null, new ActionSheetDialog.OnSheetItemClickListener() {
@Override
public void onClick(int which) {
showMsg(