【Release】3.1.7 (2021/07/18)

    • 增加对application创建阶段showpopup的支持
    • 优化isShowing()方法,现在只要开始调用过showpopupwindow(),就可以立即获取到正确的isShowing(),不需要等待popup完全展示后才能正确获取
    • 增加优先级方法setPriority(BasePopupWindow.Priority),相关文档请查阅优先级设置
    • 优化margin逻辑,现在margin仅影响大小,不用作offset
    • 【键盘适配调优】:
      • 文档#issue426
      • 增加setKeyboardGravity:现在允许您设置basepopup在键盘弹出后可见区域的gravity
      • 增加setKeyboardOffsetX:允许您设置键盘弹出后在可见区域的水平位移
      • 增加setKeyboardOffsetY:允许您设置键盘弹出后在可见区域的垂直位移
    • 【方法名称规范化】
      • 删除现存的@Deprecated标记方法
      • @Deprecated标记现有的*inputmethod方法,以及增加规范化名称后的方法:
        • setAdjustInputMethod -> setKeyboardAdaptive
        • setAdjustInputMode -> setKeyboardAdaptionMode