Whenever the Android device locks and I unlock it, the image that was displayed in the ImageView disappears. What do I need to do to redisplay it or prevent this from happening.
More:
I have a view that displays video, images or text depending on the context and three subclasses that extend the parent view. On creation, I replace the display view with the View object returned from createMediaPreview(), which each subclass implements.
Thanks in advance
You’ll probably want to call createMediaPreview() again in the onResume() method:
http://developer.android.com/reference/android/app/Activity.html#onResume()