TangXiaoLv/TelegramGallery

How to cache images so they still display on resume

tinashe96 opened this issue · 1 comments

If I select images and go to a different activity, then I call the MainActivity again all the previously selected photos are gone.

Is there a way to get around this?

Had to override onBackPressed to prevent the activity from being destroyed