### QR Code Scanner Integration Example Source: https://github.com/g00fy2/quickie/blob/main/_autodocs/api-reference.md Launches a QR code scanner and handles the result. This example demonstrates how to register for the activity result, launch the scanner, and process success, cancellation, permission denial, or error states. ```kotlin val scanQrCodeLauncher = registerForActivityResult(ScanQRCode()) { result -> when (result) { is QRResult.QRSuccess -> { val content = result.content Toast.makeText(this, "QR Code: ${content.rawValue}", Toast.LENGTH_SHORT).show() } is QRResult.QRUserCanceled -> { // User closed the scanner } is QRResult.QRMissingPermission -> { // Camera permission denied } is QRResult.QRError -> { Log.e("QRScanner", "Error:", result.exception) } } } override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) binding.scanButton.setOnClickListener { scanQrCodeLauncher.launch(null) } } ``` -------------------------------- ### Launch QR Scanner with Animations Source: https://github.com/g00fy2/quickie/blob/main/_autodocs/quick-start.md This example demonstrates how to launch the QR code scanner with custom activity transition animations using ActivityOptionsCompat. Ensure the shared element name matches the XML layout. ```kotlin val scanQrCodeLauncher = registerForActivityResult(ScanQRCode()) { result -> // Handle result } override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) findViewById