问题记录
hxkqq457624390ok
这个作者很懒,什么都没留下…
展开
-
解决问题The content of the adapter has changed but ListView did not receive a notification.
出现的问题: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI th原创 2017-02-16 12:35:03 · 702 阅读 · 0 评论 -
解决dialog中嵌套EditText,自动弹出软键盘的问题
1.解决无法弹出输入法: 问题:自定义了一个dialog,无法自动弹出软键盘,影响体验。2.可以弹出输入法了,但了为了增强用户体验性,当dialog中含有editText时应该,在显示dialog的同时自动弹出键盘: (1) 可以在自定义的dialog中增加如下方法: public void showKeyboard() { if(editText!=null){原创 2017-02-17 11:48:33 · 2846 阅读 · 0 评论 -
解决The following classes could not be foundandroid.support.v7.internal.app.WindowDecorActionBar
The following classes could not be found: - android.support.v7.internal.app.WindowDecorActionBar (Fix Build Path, Create Class)Tip: Try to build the project.解决办法:这个问题的原因是studio成长中,Actionbar已经out了,它推荐你使原创 2017-02-11 16:19:12 · 628 阅读 · 0 评论 -
解决:android studio2.2.3 卡死 ,卡在Gradle:Build Running的解决办法
Android stuido作为google主推的IDE,配合gradle编译,有很多的优点和便捷性。唯一使用过程中不舒服的地方就是莫名其妙的卡顿,经常在Gradle Build的时候卡死强制重启电脑,非常无语,我的机器是8G内存新机器也没开其他程序。总之非常编译速度很慢有时还会经常卡死。尝试了很多优化方案,卡死次数少了编译也快了不少。将我的发现和大家分享一下。如果是更新Gradle导致编译卡住,一转载 2017-03-02 14:00:33 · 1314 阅读 · 0 评论