ilumer
ilumer
Jan 18, 2017 · 1 min read

I have a question about AppCompatDelegate.setDefaultNightMode()

If i call this method and not recreate() in son activity and i back to parent activty. This parent activity will call onDestory. but if call the recreate ,the parent will not call onDestory. I try to read the source code to find the reason. but I can not find this impl? Can you give me some advice?

    ilumer

    Written by

    ilumer

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight.
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox.
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month.