Skip to content

Instantly share code, notes, and snippets.

View byansanur's full-sized avatar

ratbyansa nur byansanur

View GitHub Profile
for (story in it.data?.listStory!!) {
val latLon = LatLng(story.lat!!, story.lon!!)
Glide.with(requireContext())
.asBitmap()
.load(story.photoUrl)
.into(object : SimpleTarget<Bitmap>() {
override fun onResourceReady(
resource: Bitmap,
transition: Transition<in Bitmap>?
) {