File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
camerademoapp/src/main/java/com/nativescript/camerademoapp Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ class FirstFragment : Fragment() {
7373 ContextCompat .checkSelfPermission(
7474 this .requireActivity(), android.Manifest .permission.CAMERA
7575 ) == PackageManager .PERMISSION_GRANTED -> {
76+ binding.cameraView.startPreview()
7677// layout.showSnackbar(
7778// view,
7879// "granted",
Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ artifacts {
104104
105105
106106dependencies {
107- implementation project(' :widgets-release' )
108- // api(name:'widgets-release', ext:'aar')
107+ // implementation project(':widgets-release')
108+ api(name :' widgets-release' , ext :' aar' )
109109
110110 implementation " androidx.annotation:annotation:1.1.0"
111111 implementation ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2'
You can’t perform that action at this time.
0 commit comments