RepositoryJavaCACanada
amirarcane

amirarcane/recent-images

Do you noticed the new feature of Telegram or Instagram?! They show your latest images when you try to attach or post a picture. So I developed this library the same with lots of customization. Simple way to get all images of device based on date taken, name, id and other customization

181sao
30fork
0issue
3lượt xem

📱 Thư viện ảnh gần đây theo phong cách Telegram & Instagram

Lấy toàn bộ ảnh trên thiết bị và hiển thị dưới dạng lưới, hỗ trợ sắp xếp và tùy chỉnh chi tiết.

recent-images là một thư viện Android giúp bạn dễ dàng lấy tất cả hình ảnh trên thiết bị dựa trên ngày chụp, tên, ID hoặc các tiêu chí khác. Dự án lấy cảm hứng từ tính năng hiển thị ảnh gần đây khi đính kèm trong các ứng dụng như Telegram hay Instagram, đồng thời cung cấp nhiều tùy chỉnh để phù hợp với nhu cầu sử dụng thực tế.

✨ Điểm nổi bật

  • Lấy ảnh nhanh chóng: Dùng getAdapter() để lấy adapter chứa toàn bộ ảnh thiết bị, sẵn sàng gán cho GridView.
  • Sắp xếp tùy chỉnh: Hỗ trợ lọc theo cột (ví dụ: ngày chụp, tên, ID) và thứ tự tăng/giảm dần.
  • Hỗ trợ GridView ngang: Tích hợp sẵn TwoWayGridView để hiển thị lưới ảnh theo kiểu ngang như ảnh demo.
  • Tùy chỉnh giao diện: Cài đặt kích thước (độ rộng, chiều cao), padding và chất lượng thumbnail (từ 1–4).
  • Quản lý bộ nhớ cache: Cung cấp phương thức cleanupCache() để tránh rò rỉ bộ nhớ khi Activity kết thúc.
  • Hỗ trợ Drawable mặc định: Dùng setDrawable() để hiển thị ảnh mặc định trước khi ảnh thực tế được tải.

💡 Vì sao đáng chú ý

Không cần phải viết phứ thức để truy cập MediaStore hay quản lý bộ nhớ cache — thư viện đã đóng gói sẵn toàn bộ logic nặng.

Thích hợp cho các ứng dụng cần tính năng đính kèm ảnh nhanh như nhắn tin, xã hội hoặc nền tảng đăng bài.

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryJava
Blankj/AndroidUtilCode

:fire: Android developers should collect the following utils(updating).

33.6k
Aug 15, 2024
RepositoryObjective-C
SDWebImage/SDWebImage

Asynchronous image downloader with cache support as a UIImageView category

25.6k
Apr 15, 2026
RepositoryJavaScript
dimsemenov/PhotoSwipe

JavaScript image gallery for mobile and desktop, modular, framework independent

25.3k
Dec 4, 2025
RepositorySwift
onevcat/Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.

24.4k
Nov 28, 2026
RepositorySwift
kean/Nuke

Image loading system

8.7k
Nov 22, 2026
RepositoryTypeScript
bubkoo/html-to-image

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

7.3k
Nov 25, 2026
RepositorySwift
Yummypets/YPImagePicker

📸 Instagram-like image picker & filters for iOS

4.5k
Jul 28, 2026
RepositoryPHP
zyx0814/FilePress

一款全新的文件驱动型建站系统

1.1k
Oct 26, 2026