vendor

Results 3 comments of vendor

近期有空会提供

hi 朋友 这个问题我也遇见到了 主要引起的原因是 作者在刷新的时候没有计算CalendarViewAdapter的值我的解决方案是 重新计算一次值即可(不过会引起点击问题 思路就是这个) `public void notifyDataChanged(CalendarDate date) { seedDate = date; // 计算月份差 然后计算出currentPosition的值 int month = (mFirstDate.year - date.year) * 12 + (mFirstDate.month - date.month);...

已确定问题所在行:FullScreenDialog 86行 //处理VIVO手机8.0以上系统部分机型的状态栏问题和弹窗下移问题 boolean isPortrait = getContext().getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; if(isFuckVIVORoom() && isPortrait){ getWindow().setLayout(XPopupUtils.getAppWidth(getContext()), Math.max(XPopupUtils.getAppHeight(getContext()), XPopupUtils.getScreenHeight(getContext()))); getWindow().getDecorView().setTranslationY(-XPopupUtils.getStatusBarHeight()); } 替换2.4.4版本写法即可解决此问题 if(isFuckVIVORoom()){ getWindow().getDecorView().setTranslationY(-XPopupUtils.getStatusBarHeight()); getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT, Math.max(XPopupUtils.getAppHeight(getContext()), XPopupUtils.getScreenHeight(getContext()))); } else { getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT, Math.max(XPopupUtils.getAppHeight(getContext()), XPopupUtils.getScreenHeight(getContext()))); }