Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final PlaylistItem item = getItem(position);
- viewHolder.title.setText(item.title);
- Log.e("ImageThubm",item.thumbnailUrl);
- // load the video thumbnail image
- String urldisplay = item.thumbnailUrl;
- Bitmap mIcon11 = null;
- try {
- InputStream in = new java.net.URL(urldisplay).openStream();
- mIcon11 = BitmapFactory.decodeStream(in);
- viewHolder.thumbnail.setImageBitmap(mIcon11);
- } catch (IOException e) {
- e.printStackTrace();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement