Giter VIP home page Giter VIP logo

popfisher / smartpopupwindow Goto Github PK

View Code? Open in Web Editor NEW
665.0 24.0 154.0 2.1 MB

提供关于PopupWindow使用过程中遇到的一些特殊问题的解决方案,例如:PopupWindow不响应点击外部消失和返回键消失的解决方法;PopupWindow精确计算要显示位置原理和方法;实现带箭头的上下文菜单遇到的坑;Android7.0 PopupWindow的兼容问题;屏幕旋转时调用PopupWindow update方法更新位置失效的问题及解决方案

Java 100.00%
popupwindow anchorview android-popupwindow popup-window

smartpopupwindow's Issues

具体的话是这行

// 设置好参数之后再show
int windowPos[] = PopupWindowUtil.calculatePopWindowPos(anchorView, contentView);

pw 里面是RecyclerView

我要怎么动态设置rv的高度.
例如我的rv 会显示很多条目,但是一次最多显示5条,也会有情况数据最多也就小于五条的时候,就需要动态设置当前rv的高度

急! fragment中调用会报这两个错

android.support.v7.widget.TintContextWrapper cannot be cast to android.app.Activity

Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering

bug

智能poupwindow倒数第二个,是向上还是向下,不准啊(省略一个表情)

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.