| | |
| | | import com.nostra13.universalimageloader.core.ImageLoader; |
| | | import com.nostra13.universalimageloader.core.assist.ImageScaleType; |
| | | import com.nostra13.universalimageloader.core.display.SimpleBitmapDisplayer; |
| | | import com.weikou.beibeivideo.R; |
| | | import com.weikou.beibeivideo.db.DownloadTable; |
| | | import com.weikou.beibeivideo.db.WatchHistoryTable; |
| | | import com.weikou.beibeivideo.entity.VideoDetailInfo; |
| | | import com.weikou.beibeivideo.entity.VideoInfo; |
| | | import com.weikou.beibeivideo.ui.media.VideoDetailActivity; |
| | | import com.yeshi.buwanshequ.R; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Formatter; |
| | |
| | | try { |
| | | glide.load(videoInfo.getPicture()) |
| | | .placeholder(R.drawable.ic_default_cover) |
| | | .error(R.drawable.ic_default_cover).crossFade().into(viewHolder.iv_cover); |
| | | .error(R.drawable.ic_default_cover).into(viewHolder.iv_cover); |
| | | } catch (IllegalArgumentException e) { |
| | | e.printStackTrace(); |
| | | } |