回到模块导航
如果你对实现感兴趣,请参考我的CSDN博客:
回到模块导航
如果您在使用过程中发现任何问题,请联系我,我会立即跟进修复和维护。感谢您的支持!
作者:朱志强
微信:
邮箱:vincent.k.zhu@gmail.com
implementation "io.github.vincent-series:smart-toast:4.1.9"
Kotlin User Document
Java User Document
classic toast | classic toast | classic toast |
---|---|---|
默认背景 | 配置背景和Icon Icon居于文本左侧 |
配置背景和Icon Icon居于文本右侧 |
![]() |
![]() |
![]() |
emotion toast | emotion toast | emotion toast |
---|---|---|
成功 | 警告 | 禁止 |
![]() |
![]() |
![]() |
回到模块导航
SmartSnackBar基于原生Snackbar进行封装改造,不仅使用上更加简易,而且进行了功能扩展:
implementation "io.github.vincent-series:smart-snackbar:4.1.2"
//material lib,such as 1.5.0
implementation 'com.google.android.material:material:x.y.z'
bottom snackbar | bottom snackbar | bottom snackbar |
---|---|---|
classic风格,默认背景 | classic风格,自定义背景 | material风格,自定义背景 |
![]() |
![]() |
![]() |
top snackbar | top snackbar | top snackbar |
---|---|---|
classic风格,默认背景 | classic风格,自定义背景 | material风格,自定义背景 |
![]() |
![]() |
![]() |
implementation "io.github.vincent-series:smart-dialog:4.1.4"
Kotlin User Document
Java User Document
通知对话框 | 确认对话框 | 延时确认对话框 |
---|---|---|
显示一条通知消息,只有确认按钮 | 确认用户操作 | 延时启用确认按钮 一般用于提示用户谨慎操作 |
![]() |
![]() |
![]() |
文本输入对话框 | 数字输入对话框 |
---|---|
![]() |
![]() |
点击即选列表对话框 | 单选列表对话框 | 多选列表对话框 |
---|---|---|
通过点击列表项完成选择 | 常规单选列表 | 常规多选列表 |
![]() |
![]() |
![]() |
加载对话框 | 加载对话框 | 加载对话框 |
---|---|---|
BoxSize.LARGE |
BoxSize.MIDDLE |
BoxSize.SMALL |
![]() |
![]() |
![]() |