Giter VIP home page Giter VIP logo

basepopup's Introduction

中文 | English

Logo图片似乎加载不出来

BasePopup - Android下打造通用便捷的PopupWindow弹窗库

Release Snapshot License Api Author



介绍

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.1.8'

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

文档

注意事项

  • Release和Snapshot两个版本互相切换可能会导致Build失败,这时候您Clean一下Project即可
  • 3.0版本会对2.x版本升级上来的用户造成较大范围的改动,请您务必阅读升级提示:关于BasePopup 3.0的破坏性更新说明

更新日志 (历史更新)

  • 【Release】3.1.8 (2021/08/11)
    • 优化margin的measure和layout逻辑。issue#429
    • 添加onSizeChange(int oldW, int oldH, int newW, int newH)回调

例子预览

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


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

Logo图片似乎加载不出来

交流群

为了保证微信群的质量(主要是远离斗图党和广告党),因此只有打赏了之后才能进群~

打赏后请加微信小号:razerdp_test,并注明付款账号,定期核验后会通过

License

FOSSA Status

Apache-2.0

Visit Count(from 2020/08/19)

basepopup's People

Contributors

razerdp avatar 430public avatar dadengpao avatar parfoismeng avatar bryant1410 avatar hshare avatar hunter524 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.