public void setItemImage(byte[] image) { try { Bitmap temp = Bitmap.createBitmapFromBytes(image, 0, image.length, 1); int w = TEXT_ANCHOR - 2 * PADDING_TOP; this.newsImage = Utils.resizedImage(temp, w, w); } catch (Exception e) { } synchronized (Application.getEventLock()) { NewsItemButton.super.invalidate(); } }