OpenSourceLicenseScreen
fun OpenSourceLicenseScreen(viewModel: OpenSourceLicensesViewModel, dependency: String, onUpClick: () -> Unit, browserLauncher: BrowserLauncher = rememberBrowserLauncher())(source)
Display the opensource license of a dependency
Parameters
viewModel
the OpenSourceLicensesViewModel to use
dependency
the dependency
onUpClick
lambda to execute on click on the up arrow
fun OpenSourceLicenseScreen(dependency: String, license: String, onUpClick: () -> Unit, onUrlClick: (String) -> Unit, onUrlsFound: (List<String>) -> Unit)(source)
Display the opensource license of a dependency
Parameters
dependency
the dependency
license
the opensource license text
onUpClick
lambda to execute on click on the up arrow
onUrlClick
lambda to execute on click on a url
onUrlsFound
lambda to execute when all urls in the license have been found