private val mAlbumLauncher =
registerForActivityResult(ActivityResultContracts.PickVisualMedia()) { uri ->
uri?. let {
mCropLaunch.launch(
CropImageContractOptions(
uri = it,
cropImageOptions = CropImageOptions(
activityTitle = "裁剪",
toolbarColor = getColor(R.color.white),
toolbarTitleColor = getColor(R.color.subtitle),
toolbarBackButtonColor = getColor(R.color.subtitle)
)
)
)
}
}
I see that the demo is passing the empty construction method, but when I use the empty construction, it is consistent with my current code use, and the effect is blank。
version:4.5.0
I see that the demo is passing the empty construction method, but when I use the empty construction, it is consistent with my current code use, and the effect is blank。