popwindow低版本兼容问题
android 2.3 popwindow NullPointerException的解决
构造函数里添加
super(context)
例如:
public MyPopupWindow(Activity context, int width, int height){
super(context);
}
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
android 2.3 popwindow NullPointerException的解决
构造函数里添加
super(context)
例如:
public MyPopupWindow(Activity context, int width, int height){
super(context);
}
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。