AttachmentViewer: Make it zoomable using a library
This commit is contained in:
@@ -83,7 +83,14 @@ dependencies {
|
||||
// Jetpack Compose Integration
|
||||
implementation "androidx.navigation:navigation-compose:$nav_version"
|
||||
|
||||
implementation 'androidx.activity:activity-compose:1.4.3'
|
||||
// Jetpack Compose
|
||||
def compose_version = "1.4.3"
|
||||
implementation "androidx.compose.ui:ui:$compose_version"
|
||||
implementation "androidx.compose.material:material:$compose_version"
|
||||
implementation "androidx.compose.foundation:foundation:$compose_version"
|
||||
|
||||
|
||||
implementation "androidx.activity:activity-compose:$compose_version"
|
||||
|
||||
// Lifecycle
|
||||
def lifecycle_version = "2.6.1"
|
||||
@@ -91,9 +98,6 @@ dependencies {
|
||||
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
|
||||
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version"
|
||||
|
||||
implementation "androidx.compose.ui:ui:1.4.3"
|
||||
implementation 'androidx.compose.material:material:1.4.3'
|
||||
implementation "androidx.compose.foundation:foundation:1.4.3"
|
||||
|
||||
// Hilt (dependency injection)
|
||||
implementation "com.google.dagger:hilt-android:${hilt_version}"
|
||||
@@ -107,7 +111,10 @@ dependencies {
|
||||
// Disk LRU Cache
|
||||
implementation "com.jakewharton:disklrucache:2.0.2"
|
||||
|
||||
debugImplementation 'androidx.compose.ui:ui-tooling:1.4.3'
|
||||
// Zooming in images
|
||||
implementation "net.engawapg.lib:zoomable:$compose_version"
|
||||
|
||||
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
|
||||
}
|
||||
|
||||
// Allow references to generated code
|
||||
|
||||
Reference in New Issue
Block a user