Reputation: 2500
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
Upvotes: 4
Views: 3721
Reputation: 364371
You have to extend AppCompatActivity
or FragmentActivity
instead of ComponentActivity
.
Upvotes: 6