Can anyone tell me what are the different of use of onAttach() and isAdded in Android Fragment?
When create a new fragment onAttach() method creating default.
I
Called when a fragment is first attached to its context. onCreate(Bundle) will be called after this.
fragment
context
onCreate(Bundle)
Return true if the fragment is currently added to its activity.
Return true
activity