|
|
@@ -4,7 +4,6 @@ import android.os.Bundle;
|
|
|
import android.support.annotation.NonNull;
|
|
|
import android.support.annotation.Nullable;
|
|
|
import android.support.design.widget.TabLayout;
|
|
|
-import android.support.v4.view.ViewPager;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
@@ -12,6 +11,7 @@ import android.view.ViewGroup;
|
|
|
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.view.custom.SwipeNoneViewPager;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.FragmentBase;
|
|
|
|
|
|
/**
|
|
|
@@ -24,10 +24,10 @@ import kr.co.zumo.app.lifeplus.view.screen.FragmentBase;
|
|
|
* @history 하세미 [2018-11-16] [최초 작성]
|
|
|
* @since 2018-11-16
|
|
|
*/
|
|
|
-public class LifeplusIntroductionFramgment extends FragmentBase<LifeplusIntroductionPresenter> {
|
|
|
+public class LifeplusIntroductionFragment extends FragmentBase<LifeplusIntroductionPresenter> {
|
|
|
|
|
|
private TabLayout tabLayoutIntroduction;
|
|
|
- private ViewPager viewPagerIntroduction;
|
|
|
+ private SwipeNoneViewPager viewPagerIntroduction;
|
|
|
private LifeplusIntroductionPagerAdapter pagerAdapter;
|
|
|
|
|
|
private static final String APP_GUIDE = "App 이용가이드";
|
|
|
@@ -44,7 +44,8 @@ public class LifeplusIntroductionFramgment extends FragmentBase<LifeplusIntroduc
|
|
|
tabLayoutIntroduction = findViewById(R.id.life_plus_tab_layout);
|
|
|
tabLayoutIntroduction.setTabGravity(TabLayout.GRAVITY_FILL);
|
|
|
viewPagerIntroduction = findViewById(R.id.life_plus_view_pager);
|
|
|
- // tabLayoutIntroduction.setAnimation(Animation.ABSOLUTE);
|
|
|
+ viewPagerIntroduction.setPagingEnabled(false);
|
|
|
+
|
|
|
|
|
|
String[] tabs = {APP_GUIDE, LIFE_PLUS_BRAND};
|
|
|
pagerAdapter = new LifeplusIntroductionPagerAdapter(getChildFragmentManager(), tabs);
|