Android Glide: Show a blurred image before loading actual image

后端 未结 8 1100
谎友^
谎友^ 2021-02-01 06:37

I am developing an Android app which displays full screen images to the user. Images are fetched from the server. I am using Glide to show the image. But I want to display a ver

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 06:49

    with Glide v4:

    Glide.with(context)
        .load(URL)
        .thumbnail(0.1f)
        .into(image_view)
    

提交回复
热议问题