Home > Software engineering >  How to access getSupportFragmentManager in ComponentActivity?
How to access getSupportFragmentManager in ComponentActivity?

Time:10-28

I want access getSupportFragmentManager in ComponentActivity. Working with jetpack compose and I need to use a fragment which is available from a third party SDk.

Any help/clue is much appreciated. Thanks

CodePudding user response:

You have to extend AppCompatActivity or FragmentActivity instead of ComponentActivity.

  • Related