S
S
Sasha Brahms2016-07-15 13:25:07
Android
Sasha Brahms, 2016-07-15 13:25:07

Android Dialog Lifecycles?

Hello everyone, I ran into a misunderstanding of such a thing as what life cycles
DialogFragment has
.

1. создание
2. показ
3. скрытие

When the dialog is re-displayed, it is not re-created, but only shown and run through the onPrepareDialog function (something like this)
. understand here.
It is unlikely that developers would do it to the detriment of performance (and it turns out that it is, when a new one is created each time)
Can you please tell me who worked with this, how does it work with DialogFragment?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question