All Projects → amirarcane → Recent Images

amirarcane / Recent Images

Licence: mit
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

Programming Languages

68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Recent Images

V Viewer
Image viewer component for vue, supports rotation, scale, zoom and so on, based on viewer.js
Stars: ✭ 1,776 (+875.82%)
Mutual labels:  image, picture, gallery
React Viewer
react image viewer, supports rotation, scale, zoom and so on
Stars: ✭ 502 (+175.82%)
Mutual labels:  image, picture, gallery
Image loading, caching & transforming library for Xamarin and Windows
Stars: ✭ 1,288 (+607.69%)
Mutual labels:  cache, image
world level Gallery , from Telegram,Photo album selector,QQ style
Stars: ✭ 1,294 (+610.99%)
Mutual labels:  picture, gallery
gis (go image server) go 实现的图片服务,实现基本的上传,下载,存储,按比例裁剪等功能
Stars: ✭ 108 (-40.66%)
Mutual labels:  image, picture
📷 A simple image cropping tool that provides gallery or camera help for Native Android (Java)
Stars: ✭ 176 (-3.3%)
Mutual labels:  image, gallery
Stars: ✭ 85 (-53.3%)
Mutual labels:  cache, image
The Guardian’s image management system
Stars: ✭ 1,380 (+658.24%)
Mutual labels:  image, picture
React Grid Carousel
React responsive carousel component w/ grid layout
Stars: ✭ 29 (-84.07%)
Mutual labels:  image, gallery
jQuery Zoom Gallery plugin
Stars: ✭ 120 (-34.07%)
Mutual labels:  image, gallery
Swift image slideshow with circular scrolling, timer and full screen viewer
Stars: ✭ 1,612 (+785.71%)
Mutual labels:  image, gallery
A simple and customizable Android full-screen image viewer with shared image transition support, "pinch to zoom" and "swipe to dismiss" gestures
Stars: ✭ 1,734 (+852.75%)
Mutual labels:  image, gallery
An easy to use Image Viewer that is inspired by Facebook
Stars: ✭ 1,071 (+488.46%)
Mutual labels:  image, gallery
Extended image
A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network, zoom pan image, photo view, slide out page, editor(crop,rotate,flip), paint custom etc.
Stars: ✭ 1,021 (+460.99%)
Mutual labels:  cache, image
Go mascot image constructor. Create your cute own gopher.
Stars: ✭ 86 (-52.75%)
Mutual labels:  image, picture
Extract colors from an image (0.75 KB) 🎨
Stars: ✭ 42 (-76.92%)
Mutual labels:  image, picture
React Responsive Picture
A future-proof responsive image component that supports latest Picture specification
Stars: ✭ 91 (-50%)
Mutual labels:  image, picture
Vue Picture Input
Mobile-friendly picture file input Vue.js component with image preview, drag and drop, EXIF orientation, and more
Stars: ✭ 862 (+373.63%)
Mutual labels:  image, picture
A command line tool to synchronise, upload, download, pictures between the local file system and Flickr. Image hash signature of the picture is used to uniquely identify the image.
Stars: ✭ 14 (-92.31%)
Mutual labels:  image, picture
Weibo image uploader
PHP 实现的微博图床上传轮子
Stars: ✭ 129 (-29.12%)
Mutual labels:  image, picture

Android Arsenal

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.


Watching this repository will allow GitHub to email you whenever I publish a release.

Gradle Dependency

Add this line to your build.gradle project

compile 'com.amirarcane.recent-images:recentimages:2.0.1'


Just add these lines to your class, that's it.

RecentImages recentImages = new RecentImages();
ImageAdapter adapter = recentImages.getAdapter(MainActivity.this);

recentImages.getAdapter() method returns an adapter that you can easily set it as your gridView adapter. By default it returns device pictures based on Date_Taken and Descending order, for changing them see Customization

Use recentImages.cleanupCache() to clean the cache. It removes all the callbacks from the drawables stored in the memory cache. This method must be called from the onDestroy() method of any activity using the cached drawables. Failure to do so will result in the entire activity being leaked.

You can use regular gridView but if you want to use it exactly like above picture you need horizontal gridView. I used jess-anders/two-way-gridView in this library. All you have to do is set below code in your xml instead of regular gridView:



RecentImages class contains some methods for customization:

getAdapter(Context context) default method to get adapter

getAdapter(Context context, String columns, String sort) parameter columns filters device images base on date, name, id and etc. parameter sort will sort them based on Desecnding or Ascending order

setDrawable(int drawable) to use an image from you drawable folder before loading of images

setHeight(int height) to set images height (in dp)

setWidth(int width) to set images width (in dp)

setPadding(int padding) to set images padding (in dp)

setSize(int size) to set quality of thumbnail images (values are 1, 2, 3, 4. 1 means best quality and high resolution and 4 means least quality an low resolution)

Here is an example:

RecentImages recentImages = new RecentImages();
ImageAdapter adapter = recentImages.getAdapter(MainActivity.this, ri.LATITUDE, ri.ASCENDING);

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].