SnackBar,替代Toast(模仿美团SnackBar)
修复内存泄漏,配置升级
修复判空处理,代码优化
背景更改为白色,并添加动画效果
修复动画效果产生的内存泄漏
优化退出 App 时显示问题
Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.chenyacheng:SnackBar:1.2.6'
}