public class BolgDetailActivity extends SuperActivity implements OnClickListener{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_news_detail);
getWindow().setBackgroundDrawable(null);
initView();
}
protected void onResume() {
super.onResume();
Intent intent = this.getIntent();
item = (BlogItem) intent.getSerializableExtra("item");
if ( item!=null ) {
title.setText(item.getTitle());
url = PATH + item.getId();
loadBolgDetailInfo(url);
}
onCreate創建,onResume從後台調入前台恢復運行