We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CaptureController
If for certain use cases, instance of CaptureController needs to be created globally, like follows:
class MyComposeActivity : ComponentActivity { val controller = CaptureController() override fun onCreate(savedInstanceState: Bundle?) { setContent { // do something with `controller` in Compose scope } } }
Currently, only rememberCaptureController() function is exposed which can be only called from @Composable function.
rememberCaptureController()
@Composable
The text was updated successfully, but these errors were encountered:
#145 | Expose public constructor of CaptureController
42bfc3a
This has been fixed and released in v2.1.0 🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If for certain use cases, instance of
CaptureController
needs to be created globally, like follows:Currently, only
rememberCaptureController()
function is exposed which can be only called from@Composable
function.The text was updated successfully, but these errors were encountered: