![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug修复
程梦真
这个作者很懒,什么都没留下…
展开
-
android EditText 字体下面有红线的修复
布局文件中,EditText属性中加上下面的属性就能去掉红线: android:inputType=”textNoSuggestions”原创 2016-07-27 12:01:18 · 3919 阅读 · 0 评论 -
SocketCAN bug记录
问题:因为在平板显示是开线程接收CAN数据,而sokect在JNI接收数据的时候是阻塞方法。在关闭线程的时候,方法还是会在阻塞。解决:在jni里面修改socket阻塞,code:if (-1 == fcntl(fd, F_SETFL, O_NONBLOCK)){ printf("fcntl socket error!\n");}struct timeval tv;tv.tv_sec原创 2016-09-09 08:37:45 · 1711 阅读 · 0 评论 -
搭建MVP框架要点记录
记录点一准备对一个刚刚启用的项目改造成mvp框架,在BaseFragment的oncreate中有这么一段 报错了Incompatible conditional operand typesif (this instanceof BaseView) mPresenter.setVM(mModel,this);后来发现baseFragment extends Fragment ,而Base原创 2016-09-10 10:49:33 · 481 阅读 · 0 评论