admin
2020-10-10 8039a1b2fbfa3471b6f726d3e839d7867c81a84f
BuWanVideo/src/com/weikou/beibeivideo/ui/recommend/RecommendFragment.java
@@ -46,6 +46,7 @@
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;
@@ -103,8 +104,8 @@
    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);