RxGalleryFinal icon indicating copy to clipboard operation
RxGalleryFinal copied to clipboard

MediaActivity的onDestroy很晚才被调用,可能导致快速退出重新打开时,选不上图片

Open txlbupt opened this issue 5 years ago • 0 comments

问题在于onDestroy回调的时机不确定,如果应用本身的onDestroy回调时机过长的话,用户退出然后快速重新打开MediaActivity时,注册的监听会被上一个Activity的onDestroy中被释放掉,导致选不上图片,建议在onPause中判断isFinishing的方式

txlbupt avatar Apr 17 '19 09:04 txlbupt