# Baseflow/PhotoView

Implementation of ImageView for Android that supports zooming, by various touch gestures.

Repository: https://github.com/Baseflow/PhotoView
Canonical: https://ross.abutalabs.com/products/photoview
Homepage: https://baseflow.com
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2022-03-25T09:53:49+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5160, "days_push": 1622, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 18813, forks 3901 (observed 2026-08-28T04:11:27.156565+00:00)

## What it is
PhotoView is an Android library providing a drop-in replacement for ImageView that supports zooming via multi-touch and double-tap gestures. It also offers smooth scrolling fling, matrix change notifications, and tap listeners, and works inside scrolling parents like ViewPager.

## Use cases
- zoomable image viewer in an android app
- pinch to zoom on photos
- double tap to zoom imageview
- show full-screen image gallery with zoom
- zoomable image inside viewpager
- detect taps and zoom changes on an image

## When to choose
- you need a zoomable ImageView on Android with minimal setup
- you want multi-touch and double-tap zoom out of the box
- your image view lives inside a ViewPager or scrolling parent

## When to avoid
- you are not building an Android app
- you need advanced image loading or decoding (combine with Glide/Coil)
- you need a Jetpack Compose-native zoom solution without View interop

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, image-processing, animation
- domain: mobile-development, android-tools, photography
- platform: jvm
- tags: imageview, zooming, touch-gestures, pinch-to-zoom, double-tap-zoom, photo-viewer, android, mobile

## Member repositories
- Baseflow/PhotoView (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:27.156565+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:01:17.221968+00:00, confidence not recorded.
  - readme: https://github.com/Baseflow/PhotoView (fetched 2026-08-28T04:11:27.156565+00:00, sha 34601cfe02f4)
  - homepage: https://baseflow.com (fetched 2026-08-29T07:59:11.105612+00:00, sha e1ae41f72788)
  - site_page: https://baseflow.com/about (fetched 2026-08-29T07:59:11.114954+00:00, sha 41785a6d89bc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
