|
|
@@ -19,6 +19,7 @@ import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.helper.ActionBarHelper;
|
|
|
import kr.co.zumo.app.lifeplus.model.BlankModel;
|
|
|
import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
+import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.FragmentBase;
|
|
|
|
|
|
/**
|
|
|
@@ -50,11 +51,11 @@ public class OnBoardingFragment extends FragmentBase<OnBoardingPresenter> implem
|
|
|
@Override
|
|
|
protected void onAfterActivityCreated(Bundle savedInstanceState) {
|
|
|
|
|
|
- // bottomBar = (View) findViewById(R.id.tutorial_bottom_layout);
|
|
|
+ bottomBar = (View) findViewById(R.id.tutorial_bottom_layout);
|
|
|
viewPager = (ViewPager) findViewById(R.id.tutorial_view_pager);
|
|
|
tabLayout = (TabLayout) findViewById(R.id.tutorial_tab_layout);
|
|
|
-// buttonTutorial1 = (TextView) bottomBar.findViewById(R.id.button1_tutorial);
|
|
|
-// buttonTutorial2 = (TextView) bottomBar.findViewById(R.id.button2_tutorial);
|
|
|
+ buttonTutorial1 = (TextView) bottomBar.findViewById(R.id.button1_tutorial);
|
|
|
+ buttonTutorial2 = (TextView) bottomBar.findViewById(R.id.button2_tutorial);
|
|
|
|
|
|
findViewById(R.id.main_content).setPadding(0, ResourceUtil.getStatusBarHeightManual(), 0, 0);
|
|
|
|
|
|
@@ -78,7 +79,7 @@ public class OnBoardingFragment extends FragmentBase<OnBoardingPresenter> implem
|
|
|
|
|
|
// TODO: 2차 오픈: 준비중, 얼랏 처리
|
|
|
public void onPageSelected(int position) {
|
|
|
- //bottomBar.setVisibility(position != 0 ? View.VISIBLE : View.INVISIBLE);
|
|
|
+ bottomBar.setVisibility(position != 0 ? View.VISIBLE : View.INVISIBLE);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -87,8 +88,8 @@ public class OnBoardingFragment extends FragmentBase<OnBoardingPresenter> implem
|
|
|
|
|
|
}
|
|
|
});
|
|
|
-// buttonTutorial1.setOnClickListener(v -> presenter.onEvent(new Event.Builder(Event.TUTORIAL_LEFT).build()));
|
|
|
-// buttonTutorial2.setOnClickListener(v -> presenter.onEvent(new Event.Builder(Event.TUTORIAL_RIGHT).build()));
|
|
|
+ buttonTutorial1.setOnClickListener(v -> presenter.onEvent(new Event.Builder(Event.TUTORIAL_LEFT).build()));
|
|
|
+ buttonTutorial2.setOnClickListener(v -> presenter.onEvent(new Event.Builder(Event.TUTORIAL_RIGHT).build()));
|
|
|
|
|
|
}
|
|
|
|