Improve image viewer (#1843)
This commit does 3 things: 1. Replaces PhotoView (which is abandonware) with modern TouchImageView 2. Fixes an issue with panning images. Gesture was not intercepted properly and pager was taking control instead of image being moved. 3. Adds feedback to dismissing of images with vertical gesture.
This commit is contained in:
parent
8245e00a29
commit
58a1046348
4 changed files with 72 additions and 38 deletions
|
@ -159,7 +159,7 @@ dependencies {
|
|||
|
||||
implementation "com.github.connyduck:sparkbutton:4.0.0"
|
||||
|
||||
implementation "com.github.chrisbanes:PhotoView:2.3.0"
|
||||
implementation 'com.github.MikeOrtiz:TouchImageView:3.0.1'
|
||||
|
||||
implementation "com.mikepenz:materialdrawer:$materialdrawerVersion"
|
||||
implementation "com.mikepenz:materialdrawer-iconics:$materialdrawerVersion"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue