-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
I'm writing a custom native android library that exposes a support fragment for display. I created a simple view manager on the android side of react in which I return a placeholder layout in createViewInstance
and later intend to add the library fragment inside receiveCommand
on user action from the react side. However in order to add the fragment to the aforementioned container I cannot get the support fragment manager from the ThemedReactContext obj that I capture in createViewInstance
. Doing fooThemedReactContext.getCurrentActivity()
yields the deprecated android.app.FragmentManager
. How do I get android.support.v4.app.FragmentManager
instead in my view manager?
Metadata
Metadata
Assignees
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.