private void initThirdScreenViews(View rootView, Bundle savedInstanceState) { mRoundView = (ThirdScreenView) rootView.findViewById(R.id.round_view); mLetsGoButton = (Button) rootView.findViewById(R.id.letsgo); mLetsGoButton.setOnClickListener(clickListener); mRoundView.setContext(this); }
@Override public void onClick(View v) { switch (v.getId()) { case R.id.letsgo: mRoundView.startNextScreen(); ActivityUtils.passNextAndFinish(GuideUserActivity.this, LoginActivity.class); break; } }