X카X톡을 사용하시는 분들은 자주 보았을, Notification icon에 http로 불러 온 image를 원형으로 만들어 봅시다. 우선, image loading을 위해 사용되는 library는 Glide 입니다. 사실, network로 불러 온 image를 Notification icon에 넣는 과정을 위한 posting이므로, Glide도 좋지만, AUIL(Android Universal Image Loader), Fresco, Volley 등 뭐든 상관이 없고, 취향에 맞는 library를 사용하시면 됩니다. 먼저 NotificationCompat.Builder를 생성하겠습니다. into()의 parameter로 SimpleTarget을 생성하여 넘겨주고, onResourceReady()를 override 하면, parameter로 Bitmap을 받을 수 있습니다.