Skip to content

Instantly share code, notes, and snippets.

View iamriajul's full-sized avatar
🏠
Working from home

Riajul Islam iamriajul

🏠
Working from home
View GitHub Profile
@iamriajul
iamriajul / GlideImageGetter.java
Created May 13, 2020 13:35 — forked from yrajabi/GlideImageGetter.java
Custom Html.ImageGetter to load images in TextView HTML tags using Glide
/*
* Copyright (c) 2020. Yaser Rajabi https://github.com/yrajabi
* Based on code by https://github.com/ddekanski
*/
package com.rahpou.vod.ui.glideutils;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;