Пример #1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_set);
   setEdgeFromLeft();
   init();
   setListener();
 }
Пример #2
0
 @Override
 protected void onStop() {
   // TODO Auto-generated method stub
   super.onStop();
   // 将当前微博信息保存到本地方便下次快速加载
   if (last_statuses != null)
     WeiboSharedPreferencesUtils.saveMentionWeiboStatuses(context, last_statuses);
   if (last_comments != null)
     WeiboSharedPreferencesUtils.saveCommentMentionWeiboStatuses(context, last_comments);
   MainService.removeActivity(this);
 }
Пример #3
0
 @Override
 protected void onStart() {
   // TODO Auto-generated method stub
   super.onStart();
   MainService.addActivity(this);
 }