Last active
August 8, 2020 18:58
-
-
Save magdamiu/08ede63c11fa94f7a9deb73a1a47ad30 to your computer and use it in GitHub Desktop.
Smile, it’s CameraX! [preview and capture] | Preview - step 3: add PreviewView in a layout
This file contains 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
val previewView = findViewById(R.id.preview) | |
// initialize the Preview object (current use case) | |
val preview = Preview.Builder().build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment