private void addListeners() {
   // 标题相关
   btnBack.setOnClickListener(this);
   btnRight.setOnClickListener(this);
   // 页面相关
   mViewPager.setOnPageChangeListener(this);
 }
 private void initDatas() {
   // 标题相关
   btnBack.setImageResource(R.drawable.fanhui);
   titleText.setText(getResources().getString(R.string.title_news));
   btnRight.setImageResource(R.drawable.xuanxiang);
   // 页面相关
   dialog.show();
   HttpUtils.get(AppUrl.GET_NEWS_TYPE_LIST, new JSONHandler());
 }