# jeasonlzy/NineGridView

类似QQ空间，微信朋友圈，微博主页等，展示图片的九宫格控件，自动根据图片的数量确定图片大小和控件大小，使用Adapter模式设置图片，对外提供接口回调，使用接口加载图片,支持任意的图片加载框架,如 Glide,ImageLoader,Fresco,xUtils3,Picasso 等，支持点击图片全屏预览大图。

Repository: https://github.com/jeasonlzy/NineGridView
Canonical: https://ross.abutalabs.com/products/ninegridview
Language: Java
License Family: other
Last push: 2018-02-24T17:19:28+00:00

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

## Adoption (not part of the score)
Stars 2454, forks 461 (observed 2026-08-28T04:06:53.117712+00:00)

## What it is
An Android nine-grid image view library that mimics the photo grids in QQ Zone, WeChat Moments, and Weibo. It automatically sizes images and the container based on image count, supports any image-loading framework (Glide, Picasso, Fresco, etc.), and includes fullscreen photo preview with animation.

## Use cases
- display a nine-grid photo layout in a social feed like WeChat Moments
- show multiple images in a post with automatic grid sizing
- add tap-to-preview fullscreen image viewing in a feed list
- render a 2x2 layout when a post has four images
- show a '+N' overflow indicator when a post has more than nine images
- plug in my own image loader (Glide, Picasso, Fresco) into a grid view

## When to choose
- you are building an Android social app with image feeds like QQ, WeChat, or Weibo
- you need a ready-made grid control that adapts to one-to-nine images
- you want integrated fullscreen photo preview with PhotoView

## When to avoid
- you are not developing for Android
- you need a Jetpack Compose solution
- you require actively maintained code with a clear license

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, image-processing
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: nine-grid, image-gallery, android-view, photo-preview, adapter-pattern, android

## Member repositories
- jeasonlzy/NineGridView (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:53.117712+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-30T02:30:07.761353+00:00, confidence not recorded.
  - readme: https://github.com/jeasonlzy/NineGridView (fetched 2026-08-28T04:06:53.117712+00:00, sha 1ddf76596546)
- Data as of 2026-08-30T08:39:29.467469+00:00.
