| | |
| | | import com.weikou.beibeivideo.entity.VideoInfo; |
| | | import com.weikou.beibeivideo.entity.VideoType; |
| | | import com.weikou.beibeivideo.entity.ad.ExpressAdContainer; |
| | | import com.weikou.beibeivideo.entity.recommend.HomeClass; |
| | | import com.weikou.beibeivideo.ui.category.bean.HotStar; |
| | | import com.weikou.beibeivideo.ui.mine.BrowserActivity; |
| | | import com.weikou.beibeivideo.util.BeibeiConstant; |
| | |
| | | |
| | | private Context context; |
| | | |
| | | public static Fragment newInstance(VideoType type, String position) { |
| | | if (Integer.parseInt(position) < 2) { |
| | | public static Fragment newInstance(HomeClass type, String position) { |
| | | if ("recommend".equalsIgnoreCase(type.getDataType())) { |
| | | RecommendFragment fragment = new RecommendFragment(); |
| | | Bundle bundle = new Bundle(); |
| | | bundle.putSerializable("videotype", type); |