private void clearPosts() {
   mPostsAdapter.clear();
   curPage = 0;
   lastPage = -1;
   load = 25;
   if (this.savedState != null) {
     savedState.putInt("curPage", curPage);
     savedState.putInt("lastPage", -1);
     savedState.putInt("load", 25);
   }
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
   mPostsAdapter.stopAll();
 }
 @Override
 public void onResume() {
   super.onResume();
   mPostsAdapter.resumeAll();
 }
 @Override
 public void onPause() {
   super.onPause();
   mPostsAdapter.pauseAll();
 }