Code Monkey home page Code Monkey logo

Comments (5)

razerdp avatar razerdp commented on June 16, 2024

@BDwuzhou 您好,showPopupWindow和showPopupWindow(view)这两个方法默认情况下是以view.getWindow为准,也就是说默认情况下参考的是整个window,而只有您设置了 setRelativeToAnchorView(true);才会与view挂钩。。

不过经过您这么一提,我倒是觉得这是一个优化点。

也就是不传任何东西的时候默认获取window,穿了view之后就默认与view挂钩。。。这个倒是我忽略了

我稍后修复如何,如无意外将会是v1.5.1版本,到时候我会在这里艾特您的。

from basepopup.

razerdp avatar razerdp commented on June 16, 2024

如果你急着需要,可以先按照上面的方法。。。

参考的demo代码是
https://github.com/razerdp/BasePopup/blob/master/app/src/main/java/razerdp/demo/popup/CommentPopup.java

from basepopup.

razerdp avatar razerdp commented on June 16, 2024

@BDwuzhou 您好,已经更新到v1.5.1。

from basepopup.

BDwuzhou avatar BDwuzhou commented on June 16, 2024

多谢大大,问题已经完美解决了

from basepopup.

razerdp avatar razerdp commented on June 16, 2024

好的

from basepopup.

Related Issues (20)

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.