今天开发的时候遇到如题所述的异常,找了一下在satckoverflow上看到一个比较靠谱的答案: After ADT 22 the PagerAdapter has gotten very strict about calling notifyDataSetChanged() before calling getCount(). It evidently keeps track of what it th
今天偶然间发现了一个貌似很有用处的接口 protected void onPostCreate (Bundle savedInstanceState) Since: API Level 1 Called when activity start-up is complete (after onStart() and onRestoreInstanceState(Bundle) have been called). Applications
Bitmap有一个recycle方法,意思很简单,回收Bitmap的空间。但是我们知道java有自己的垃圾回收机制,所以为什么BitaMap还需要这样一个专门的回收方法呢? 无需调用bitmap的理由有: a. 垃圾回收会处理的; b. 当application关闭,process被杀掉,所有这个proc