| | |
| | | import com.weikou.beibeivideo.ui.common.VideosLiveActivity; |
| | | import com.weikou.beibeivideo.ui.discover.StarsActivity; |
| | | import com.weikou.beibeivideo.ui.media.VideoDetailActivity; |
| | | import com.weikou.beibeivideo.util.VideoUtil; |
| | | import com.weikou.beibeivideo.util.ad.AdUtil; |
| | | import com.weikou.beibeivideo.util.ad.ExpressAdManager; |
| | | import com.yeshi.buwanshequ.R; |
| | |
| | | .getVideo().getTag()) ? "" : info.getVideo() |
| | | .getTag()); |
| | | DecimalFormat df = new DecimalFormat("###.0"); |
| | | holder.tv_movie_play_num.setText(StringUtils.isBlank(info |
| | | .getVideo().getWatchCount()) ? "0" : (Integer.parseInt(info |
| | | .getVideo().getWatchCount())) / 10000 > 0 ? df.format(Integer.parseInt(info |
| | | .getVideo().getWatchCount()) / 10000f) + "万" : info |
| | | .getVideo().getWatchCount()); |
| | | holder.tv_movie_play_num.setText(VideoUtil.getWatchCountShortName(info.getVideo().getWatchCount())); |
| | | holder.tv_movie_comment_num.setText(StringUtils.isBlank(info.getVideo().getCommentCount()) ? "0" : info.getVideo().getCommentCount()); |
| | | holder.ll_video_show |
| | | .setOnClickListener(new OnClickListener() { |