20170825遇到的问题

1、使用RxJava Retrofit如果返回的类里面的参数对应不上,会导致ShowContent不调用

2、查看task栈情况:在cmd命令行里或者Android Studio中的Terminal里敲入如下命令:adb shell dumpsys activity

3、attach debugger to android process

4、Manifest文件里面把Service换成service

5、VerticalSeekBar的那些坑:

1、设置自定义progressDrawable后,进度条比thumb还宽,通过设置android:maxHeight="6dp"(注意垂直也是Height)解决
2、thumb不居中,设置android:minHeight="6dp"
3、thumb不跟着progress一起走
VerticalSeekBar里面加入语句更新thumb位置
@Override
public synchronized void setProgress(int progress) {
super.setProgress(progress);
onSizeChanged(getWidth(), getHeight(), 0, 0);
}

原文地址:https://www.cnblogs.com/leihupqrst/p/7428093.html