D
D
Denis2017-07-08 21:45:28
Android
Denis, 2017-07-08 21:45:28

What should be done so that the fragment is not recreated when the screen is rotated?

Hello!
What should be done so that the fragment is not recreated when the screen is rotated, should it simply be deleted?
What are the options for doing this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
7
7365656c65, 2017-07-08
@lacredin

If you are interested in saving the state of the fragment, then use AsyncTask in the fragment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question