android - Retain DialogFragment after unlocking Screen -
i have created 1 instance of dialogfragment. getting created properly. when lock screen, getting detach , dismiss. when unlock screen, can't see dialogfragment saw 2 secs ago before lock screen. want prevent dismissing of dialogfragment on locking screen. please me.
thanking in advance.
i think in case simplest way should remove dialog in onpause() , and show again in onresume(). in way dialog change according config changes [like language change].
Comments
Post a Comment