ImageView not refreshing/reflecting changes

前端 未结 8 1195
星月不相逢
星月不相逢 2021-01-03 22:26

I\'m using a photo picker intent to choose an image and write it to an application-private file. Most of my important source code is shown below. Once I press a button and p

8条回答
  •  旧时难觅i
    2021-01-03 23:03

    Judging by the ImageView source code, the ImageView won't reload the image if you call setImageURI with the same URI. You could try changing the URI by writing your image to another file.

提交回复
热议问题