N
N
Neonoviiwolf2016-11-29 11:14:55
Java
Neonoviiwolf, 2016-11-29 11:14:55

What is the "tag" in getSupportFragmentManager and why specify it?

Good
afe5bf1de0404206acc26b449a793a4d.png
Why do you need to specify this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2016-11-29
@Neonoviiwolf

It's not in getSupportFragmentManager but in dialog.show() . Which in turn calls FragmentTransaction.add() . The documentation for which describes the purpose of the tag parameter. You can even find a description in the Russian-language help section .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question