Created
September 29, 2021 21:57
-
-
Save sproctor/210beb2b9f9166153edb906d9e1cb204 to your computer and use it in GitHub Desktop.
Initialize SDKHandler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MainActivity : ComponentActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
val sdkHandler = SDKHandler(this, true) | |
setContent { | |
ScannerComposeTheme { | |
ScannerContent(sdkHandler) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment