ssyijiu

Results 4 issues of ssyijiu

我每次使用的时候都会提示出 KLogUtil ,强迫症哎,觉得没有必要的类就不要暴露出来了吧。

没有在 View 中保存恢复状态,可以在 SegmentedView 添加下面代码解决: ``` private static final String SEGMENTED_VIEW = "segmented_view"; private static final String SEGMENTED_VIEW_INDEX = "segmented_view_index"; @Override protected Parcelable onSaveInstanceState() { Bundle bundle = new Bundle();...

代码里有下面一句 // 设置断点续传的起始位置 if (currentSize > 0) { conn.setRequestProperty("RANGE", "bytes=" + currentSize + "-"); } 但是这个 currentSize 没有在后面用到,conn.getResponseCode() 的返回也是判断是否是 200 不是 206 。。