|
|
@@ -3,7 +3,6 @@ package kr.co.zumo.app.lifeplus.view.fragment.tutorial;
|
|
|
import android.content.Context;
|
|
|
import android.support.annotation.NonNull;
|
|
|
import android.support.v4.view.PagerAdapter;
|
|
|
-import android.util.Log;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
@@ -88,14 +87,10 @@ public class TutorialPagerAdapter extends PagerAdapter {
|
|
|
@NonNull
|
|
|
@Override
|
|
|
public Object instantiateItem(@NonNull ViewGroup container, int position) {
|
|
|
-
|
|
|
- Log.e("APP# TutorialPagerAdapter | instantiateItem", "| position" + position);
|
|
|
-
|
|
|
view = layoutInflater.inflate(R.layout.tutorial_layout, container, false);
|
|
|
ImageView imageViewTutorial = (ImageView) view.findViewById(R.id.image_view_tutorial);
|
|
|
TextView textViewTitle = (TextView) view.findViewById(R.id.text_view_tutorial_title);
|
|
|
TextView textViewDetail = (TextView) view.findViewById(R.id.text_view_tutorial_detail);
|
|
|
- bottomBar.setVisibility(View.VISIBLE);
|
|
|
tabLayout.setVisibility(View.VISIBLE);
|
|
|
|
|
|
switch (position) {
|
|
|
@@ -121,7 +116,6 @@ public class TutorialPagerAdapter extends PagerAdapter {
|
|
|
break;
|
|
|
case 4:
|
|
|
//하단 바 사라짐
|
|
|
- bottomBar.setVisibility(View.GONE);
|
|
|
view = layoutInflater.inflate(R.layout.tutorial_last, container, false);
|
|
|
Button buttonStart = view.findViewById(R.id.button_start_main);
|
|
|
buttonStart.setOnClickListener(v -> presenter.onEvent(new Event.Builder(Event.TUTORIAL_END).build()));
|
|
|
@@ -143,7 +137,6 @@ public class TutorialPagerAdapter extends PagerAdapter {
|
|
|
*/
|
|
|
@Override
|
|
|
public void destroyItem(@NonNull ViewGroup container, int position, @NonNull Object object) {
|
|
|
- Log.e("APP# TutorialPagerAdapter | destroyItem", "|" + position);
|
|
|
container.removeView((View) object);
|
|
|
}
|
|
|
|