https://github.com/dora4/dview-loading-dialog
加载进度对话框
https://github.com/dora4/dview-loading-dialog
Last synced: 3 months ago
JSON representation
加载进度对话框
- Host: GitHub
- URL: https://github.com/dora4/dview-loading-dialog
- Owner: dora4
- License: apache-2.0
- Created: 2023-06-25T06:30:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-13T19:53:51.000Z (6 months ago)
- Last Synced: 2025-05-13T21:01:48.454Z (6 months ago)
- Language: Kotlin
- Size: 93.8 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dview-loading-dialog

--------------------------------
#### 卡片

#### Gradle依赖配置
```groovy
// 添加以下代码到项目根目录下的build.gradle
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
// 添加以下代码到app模块的build.gradle
dependencies {
implementation 'com.github.dora4:dview-loading-dialog:1.5'
}
```
#### 使用控件
```kotlin
val dialog = DoraLoadingDialog(this).show("登录中...") {
messageTextSize(15f)
}
Handler().postDelayed({
dialog.dismissWithAnimation()
}, 1000)
```
#### 示例代码
https://github.com/dora4/dora_samples