- 博客(3)
- 资源 (10)
- 收藏
- 关注
原创 关于FragmentStatePagerAdapter状态保存引发的IllegalStateException
异常描述:IllegalStateException: is not currently in the Fragme解决方案:重载FragmentStatePagerAdapter的saveState()和restoreState(Parcelable state, ClassLoader loader),不再调用super.saveState()和super.restoreStat
2013-04-26 11:40:31 2924
转载 Java Feture 简介
在Java中,如果需要设定代码执行的最长时间,即超时,可以用Java线程池ExecutorService类配合Future接口来实现。 Future接口是Java标准API的一部分,在java.util.concurrent包中。Future接口是Java线程Future模式的实 现,可以来进行异步计算。Future模式可以这样来描述:我有一个任务,提交给了Future,Future替我完
2013-04-10 15:35:00 992
原创 ListView adapter中的Data也要在主线程更改否则报错如下:
04-09 15:38:04.461: W/System.err(5063): java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is no
2013-04-09 15:33:21 855
Android-Orm-sqlite-example
2013-08-06
photoup-source-2.0.1-master
2013-07-22
photoup-source-2.0.1
2013-07-22
android-support-revision-13
2013-07-22
android.support-revision-11
2013-07-22
google-http-java-client-1.13.1-beta
2013-01-29
SlidingMenu源码及例子
2012-12-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人