|  | @@ -17,10 +17,12 @@ import com.cooleshow.base.utils.UiUtils;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.utils.Utils;
 | 
	
		
			
				|  |  |  import com.cooleshow.base.widgets.CommonItemDecoration;
 | 
	
		
			
				|  |  |  import com.cooleshow.student.R;
 | 
	
		
			
				|  |  | +import com.cooleshow.student.adapter.HomeBottomPageAdapter;
 | 
	
		
			
				|  |  |  import com.cooleshow.student.adapter.HomeHotAlbumAdapter;
 | 
	
		
			
				|  |  |  import com.cooleshow.student.adapter.HomeHotMusicSheetAdapter;
 | 
	
		
			
				|  |  |  import com.cooleshow.student.adapter.HomeMenuPagerAdapter;
 | 
	
		
			
				|  |  |  import com.cooleshow.student.adapter.HomeRecommendTalentAdapter;
 | 
	
		
			
				|  |  | +import com.cooleshow.student.adapter.HomeTalentStyleAdapter;
 | 
	
		
			
				|  |  |  import com.cooleshow.student.adapter.HomeVideoCourseAdapter;
 | 
	
		
			
				|  |  |  import com.cooleshow.student.adapter.NewHomeVideoCourseAdapter;
 | 
	
		
			
				|  |  |  import com.cooleshow.student.bean.AppHomeBean;
 | 
	
	
		
			
				|  | @@ -77,6 +79,7 @@ public class NewHomeFragment extends BaseMVPFragment<FragmentNewHomeLayoutBindin
 | 
	
		
			
				|  |  |      private HomeHotMusicSheetAdapter mHomeHotMusicSheetAdapter;
 | 
	
		
			
				|  |  |      private HomeRecommendTalentAdapter mRecommendTalentAdapter;
 | 
	
		
			
				|  |  |      private NewHomeVideoCourseAdapter mHomeVideoCourseAdapter;
 | 
	
		
			
				|  |  | +    private TalentStyleFragment mTalentStyleFragment;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      protected FragmentNewHomeLayoutBinding getLayoutView() {
 | 
	
	
		
			
				|  | @@ -130,10 +133,10 @@ public class NewHomeFragment extends BaseMVPFragment<FragmentNewHomeLayoutBindin
 | 
	
		
			
				|  |  |          mViewBinding.recyclerviewRecommendTalent.addItemDecoration(commonItemDecoration);
 | 
	
		
			
				|  |  |          mViewBinding.recyclerviewRecommendTalent.setAdapter(mRecommendTalentAdapter);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        GridLayoutManager videoCourseManager = new GridLayoutManager(getContext(),2);
 | 
	
		
			
				|  |  | +        GridLayoutManager videoCourseManager = new GridLayoutManager(getContext(), 2);
 | 
	
		
			
				|  |  |          mViewBinding.rvVideoCourse.setLayoutManager(videoCourseManager);
 | 
	
		
			
				|  |  |          mHomeVideoCourseAdapter = new NewHomeVideoCourseAdapter();
 | 
	
		
			
				|  |  | -        CommonItemDecoration videoListItemDecoration=new CommonItemDecoration(SizeUtils.dp2px(12),SizeUtils.dp2px(5),0,SizeUtils.dp2px(5),0);
 | 
	
		
			
				|  |  | +        CommonItemDecoration videoListItemDecoration = new CommonItemDecoration(SizeUtils.dp2px(12), SizeUtils.dp2px(5), 0, SizeUtils.dp2px(5), 0);
 | 
	
		
			
				|  |  |          mViewBinding.rvVideoCourse.addItemDecoration(videoListItemDecoration);
 | 
	
		
			
				|  |  |          mViewBinding.rvVideoCourse.setAdapter(mHomeVideoCourseAdapter);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -142,6 +145,16 @@ public class NewHomeFragment extends BaseMVPFragment<FragmentNewHomeLayoutBindin
 | 
	
		
			
				|  |  |          mViewBinding.rvHotAlbum.setNestedScrollingEnabled(false);
 | 
	
		
			
				|  |  |          mViewBinding.rvVideoCourse.setNestedScrollingEnabled(false);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        HomeBottomPageAdapter homeBottomPageAdapter = new HomeBottomPageAdapter(this);
 | 
	
		
			
				|  |  | +        ArrayList<Fragment> bottomFragments = new ArrayList<>();
 | 
	
		
			
				|  |  | +        mTalentStyleFragment = new TalentStyleFragment();
 | 
	
		
			
				|  |  | +        Fragment fragment =new Fragment();
 | 
	
		
			
				|  |  | +        bottomFragments.add(mTalentStyleFragment);
 | 
	
		
			
				|  |  | +        bottomFragments.add(fragment);
 | 
	
		
			
				|  |  | +        homeBottomPageAdapter.setFragments(bottomFragments);
 | 
	
		
			
				|  |  | +        mViewBinding.viewPagerBottom.setAdapter(homeBottomPageAdapter);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          mMenuPagerAdapter = new HomeMenuPagerAdapter(getParentFragmentManager(), fragments);
 | 
	
		
			
				|  |  |          mViewBinding.viewpagerMenu.setAdapter(mMenuPagerAdapter);
 | 
	
		
			
				|  |  |          mBannerImageAdapter = new BannerImageAdapter<AppHomeBean.ItemBean>(itemBeans) {
 | 
	
	
		
			
				|  | @@ -422,7 +435,9 @@ public class NewHomeFragment extends BaseMVPFragment<FragmentNewHomeLayoutBindin
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public void getStylePageSuccess(HomeStyleBean data) {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        if (mTalentStyleFragment != null) {
 | 
	
		
			
				|  |  | +            mTalentStyleFragment.setData(data.rows);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 |