コード例 #1
0
 /** 帖子点评返回刷新 */
 protected void onActivityResult(final int requestCode, int resultCode, final Intent data) {
   if (resultCode == 204) {
     loadFavoriteNoteDetailComments();
   }
   System.out.println("-----Code-----------" + resultCode + "------Data-------" + data);
   super.onActivityResult(requestCode, resultCode, data);
 }
コード例 #2
0
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    this.setContentView(R.layout.fd_common_note_detail);
    ShareSDK.initSDK(this);

    Bundle bundle = getIntent().getExtras();
    if (bundle != null && bundle.containsKey(FD_NOTE_DETAIL_KEY)) {
      favoriteNote = bundle.getParcelable(FD_NOTE_DETAIL_KEY);
    }

    initFavoriteNoteDetailView();
  }
コード例 #3
0
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    this.setContentView(R.layout.fd_safety_info_table);

    initSearchResultView();
  }
コード例 #4
0
 protected void onDestroy() {
   super.onDestroy();
   ShareSDK.stopSDK(this);
 }