zzh1026it
zzh1026it
回调有问题
大神你好, 我在使用的过程中, 注解的方式 好是好, 但是侵入性太强了, 所以我使用的是 listener 的方式 .抽取了一个 PermissionManager 的管理类 来进行统一处理. 在 小米5SP 上面进行测试的时候发现 1,第一次申请权限必定会调用到 requestCustomRationaleListener 的回调, 但是 demo 上面就不会 , 是没更新吗? 2,在调用到 requestCustomRationaleListener 后的结果不会调用到 .requestListener(newListenerWrapper.PermissionRequestListener() {} 的方法中, 就是说,...
如题, 经过查看我发现这个问题的确是有的 在BackgroundCountdown#initStyleAttr(Context context, TypedArray ta)方法中第 51行和54行有这样的代码 ``` mTimeBgBorderSize = ta.getDimension(R.styleable.CountdownView_timeBgBorderSize, Utils.dp2px(context, DEFAULT_TIME_BG_BORDER_SIZE)); isShowTimeBgBorder = ta.getBoolean(R.styleable.CountdownView_isShowTimeBgBorder, false); ``` 但是 DEFAULT_TIME_BG_BORDER_SIZE 默认为 1dp 在 onDraw(Canvas canvas) 方法中各个Suffix的处理中,有: ``` if (mSuffixDayTextWidth >...
我只有android客户端使用了socketclient中的代码,但是和服务端不能交互了,是不是这个不适用啊?