在Activity的生命周期中onResume 方法的作用:

可以去更新界面显示的状态,也就是说我这个页面现在处于运行状态,那么怎么去更新界面呢

protected void onResume() {
		// TODO Auto-generated method stub
		super.onResume();
		//每次调用都更新topbar界面

		if(Constant.download_count==0){
			
			show_red_dot.setVisibility(titileView.GONE);	
		}else if(Constant.download_count > 0){
			show_red_dot.setVisibility(titileView.VISIBLE);
		}
		
		
	}