8000 GitHub - dora4/dview-toast: 一个美观且居中显示的Toast
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dora4/dview-toast

Repository files navigation

dview-toast Release

卡片

DORA视图 居中吐司

Gradle依赖配置

// 添加以下代码到项目根目录下的build.gradle
allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}
// 添加以下代码到app模块的build.gradle
dependencies {
    // 需要依赖dora框架进行配置的注入
    implementation 'com.github.dora4:dora:1.2.29'
    implementation 'com.github.dora4:dview-toast:1.1'
}

Gradle依赖配置

<application>
        <!-- Dora生命周期注入的配置 -->
        <meta-data
            android:name="dora.lifecycle.config.TipsGlobalConfig"
            android:value="GlobalConfig"/>
</application>

示例代码

https://github.com/dora4/dora_samples

About

一个美观且居中显示的Toast

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0