ImageView not refreshing/reflecting changes

前端 未结 8 1212
星月不相逢
星月不相逢 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 22:47

    I had a similar problem where I was using the devices camera to take a picture and then wanting the imageView in the original screen to refresh when I returned to it. The solution was to call View.invalidate() in onResume().

提交回复
热议问题