I'm reading through Android Developer's guide on FragmentTransaction. I understand the article but right at the end it talks about attach() and detach() methods. I cannot find any information about the difference between FragmentTransaction.add() and FragmentTransaction.attach(). Could someone help? Thanks.
FragmentTransaction
FragmentTransaction.add()
FragmentTransaction.attach()
2.1m questions
2.1m answers
60 comments
57.0k users