Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Fragment Manager and Support Fragment Manager

These two classes are clearly related. Is SupportFragmentManager used for Fragments generated using FragmentTransaction, while the "regular" FragmentManager is used exclusively to test Fragments generated using .xml files? If not, what is the difference? If so, why are two separate classes necessary to do this? Doesn't that just add extra complexity to the code base?

like image 434
farid99 Avatar asked Oct 31 '22 01:10

farid99


1 Answers

The concept of Fragments came only after API 11...in order to support those functions in older API version we use Support Libs... I think you have completely mis understood the concept of using support libs.. Do have a look into this question and a quick Google will help u out

like image 79
Gowtham Raj Avatar answered Nov 08 '22 06:11

Gowtham Raj