@Override public void onStart() { super.onStart(); dialog = ORUtils.dialogInstance(context); dialog.show(); }
private void initViews() { dialog = ORUtils.dialogInstance(this); // 标题相关 btnBack = (ImageView) this.findViewById(R.id.btn_back); titleText = (TextView) this.findViewById(R.id.title_text); btnRight = (ImageView) this.findViewById(R.id.btn_right); // 页面相关 mViewPager = (ViewPager) this.findViewById(R.id.viewpager_news); horizontalScrollView = (LinearLayout) this.findViewById(R.id.title_scroll); }