Update camerax

This commit is contained in:
Matthieu 2021-04-18 20:56:17 +02:00
parent 3af4708b9c
commit 539c6973ec
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ dependencies {
implementation 'androidx.recyclerview:recyclerview:1.2.0' implementation 'androidx.recyclerview:recyclerview:1.2.0'
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5' implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.4' implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
implementation 'androidx.paging:paging-runtime-ktx:3.0.0-beta03' implementation 'androidx.paging:paging-runtime-ktx:3.0.0-beta03'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-savedstate:2.3.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-savedstate:2.3.1'
@ -113,14 +113,14 @@ dependencies {
implementation "androidx.activity:activity-ktx:1.2.2" implementation "androidx.activity:activity-ktx:1.2.2"
// Use the most recent version of CameraX // Use the most recent version of CameraX
def cameraX_version = '1.0.0-rc03' def cameraX_version = '1.0.0-rc04'
implementation "androidx.camera:camera-core:${cameraX_version}" implementation "androidx.camera:camera-core:${cameraX_version}"
implementation "androidx.camera:camera-camera2:${cameraX_version}" implementation "androidx.camera:camera-camera2:${cameraX_version}"
// CameraX Lifecycle library // CameraX Lifecycle library
implementation "androidx.camera:camera-lifecycle:$cameraX_version" implementation "androidx.camera:camera-lifecycle:$cameraX_version"
// CameraX View class // CameraX View class
implementation 'androidx.camera:camera-view:1.0.0-alpha22' implementation 'androidx.camera:camera-view:1.0.0-alpha23'
def room_version = "2.3.0-rc01" def room_version = "2.3.0-rc01"
implementation "androidx.room:room-runtime:$room_version" implementation "androidx.room:room-runtime:$room_version"