Home

Awesome

中文 | English

<p align="center"><img src="./img/logo.png" alt="Logo图片似乎加载不出来" height="360"/></p> <h2 align="center">BasePopup - Android下打造通用便捷的PopupWindow弹窗库</h2> <div align="center"> <table align="center"> <tr> <th align="center" width="9999">Release</th> <th align="center" width="9999">Snapshot</th> <th align="center" width="9999">License</th> <th align="center" width="9999">Api</th> <th align="center" width="9999">Author</th> </tr> <tr> <td align="center"> <a href ="https://search.maven.org/artifact/io.github.razerdp/BasePopup"> <img src="https://img.shields.io/maven-central/v/io.github.razerdp/BasePopup"/> </a> </td> <td align="center"> <a href = "https://s01.oss.sonatype.org/content/repositories/snapshots/io/github/razerdp/BasePopup/"> <img src="https://img.shields.io/nexus/s/io.github.razerdp/BasePopup?server=https%3A%2F%2Fs01.oss.sonatype.org%2F"/> </a> </td> <td align="center"> <a href = "https://github.com/razerdp/BasePopup/blob/master/LICENSE"> <img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg"/> </a> <br></br> <a href = "https://github.com/razerdp/BasePopup/blob/master/LICENSE_996"> <img src="https://img.shields.io/badge/license-Anti%20996-blue.svg?style=flat-square"/> </a> </td> <td align="center"> <a href="https://img.shields.io/badge/Api-19%2B-green.svg"> <img src="https://img.shields.io/badge/Api-19%2B-green.svg"/> </a> </td> <td align="center"> <a href = "https://github.com/razerdp"> <img src="https://img.shields.io/badge/Author-razerdp-blue.svg"/> </a> </td> </tr> </table> </div>

作者的话

由于工作繁忙,且目前issue问题影响并不大,因此本库维护速度较慢。

同时希望大佬们也可以推送自己的PR,我这边review后会进行合并的~

下一次更新大概在24年3月份

介绍

BasePopup是一个对系统PopupWindow进行封装并改进的弹窗库,它是一个基础库类,有着非常高的自由度与丰富的API,您可以在BasePopup的框架下非常轻松的完成各种各样的弹窗。

环境依赖

// root gradle
allprojects {
    repositories {
        // release依赖仓库(4.1后as默认配置有)
        mavenCentral()

        // snapshot仓库(如果需要snapshot依赖,请配置该maven)
        maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
    }
}

// project dependencies
dependencies {
  implementation 'io.github.razerdp:BasePopup:3.2.1'

  // for snapshot
  // implementation 'io.github.razerdp:BasePopup:3.2.1-SNAPSHOT'
}

文档

注意事项

更新日志 (历史更新)

例子预览

更多例子请下载Demo:apk体验下载(密码123)

<img src="./img/download.png" width="256"/> <br>

打赏(您的支持是我持续更新的动力~)

<img src="https://github.com/razerdp/BasePopup/blob/master/img/alipay.png" alt="Logo图片似乎加载不出来" width="320"/>

License

FOSSA Status

Apache-2.0

<p align="center"> Visit Count(from 2020/08/19)<br> <img src="https://profile-counter.glitch.me/razerdp-basepopup/count.svg" /> </p>