Reputation: 727
Normally if we would like to close the activity means what we will do, we will simply call
finish()
method right.Likewise,how can we finish or close a FRAGMENT class.
Suggestion please..
Thanks for your precious time!..
Upvotes: 1
Views: 1262
Reputation: 167
Just a suggestion:
You normally start a fragment via FragmentManager and FragmentTransactions - you can probably use the remove command from FragmentTransactions
Upvotes: 1