| | |
| | | import com.weikou.beibeivideo.entity.recommend.HomeClass; |
| | | import com.weikou.beibeivideo.ui.category.bean.HotStar; |
| | | import com.weikou.beibeivideo.ui.main.FeedVideoFragment; |
| | | import com.weikou.beibeivideo.ui.main.HomeTabDramaFragment; |
| | | import com.weikou.beibeivideo.ui.main.KSHorizontalFeedVideoFragment; |
| | | import com.weikou.beibeivideo.ui.main.KSShortVideoFragment; |
| | | import com.weikou.beibeivideo.ui.main.MainActivity; |
| | |
| | | return fragment; |
| | | } else if ("shortVideos".equalsIgnoreCase(type.getDataType())) { |
| | | return new KSHorizontalFeedVideoFragment(); |
| | | }else if ("dyDrama".equalsIgnoreCase(type.getDataType())) { |
| | | return new HomeTabDramaFragment(); |
| | | } else { |
| | | CategoryRecommendFragment fragment = new CategoryRecommendFragment(); |
| | | Bundle bundle = new Bundle(); |