All Projects → zhufeng1222 → Gallery

zhufeng1222 / Gallery

图片缩放以及相册的实现

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Gallery

Scrollgalleryview
🌉 Android image gallery with bottom scroll view
Stars: ✭ 481 (+1904.17%)
Mutual labels:  picasso, glide, fresco, gallery
BaseDevelop
an android project for now fashion open source framework
Stars: ✭ 24 (+0%)
Mutual labels:  picasso, glide, fresco
Transformers
An Android transformation library providing a variety of image transformations for Coil, Glide, Picasso, and Fresco.
Stars: ✭ 167 (+595.83%)
Mutual labels:  picasso, glide, fresco
myphotoshare
MOVED TO GITLAB! --- A Web 2.0 Photo Gallery Done Right via Static JSON, Dynamic Javascript and a bit of php for sharing
Stars: ✭ 12 (-50%)
Mutual labels:  gallery, album
Glidepalette
Android Lollipop Palette is now easy to use with Glide
Stars: ✭ 1,670 (+6858.33%)
Mutual labels:  picasso, glide
MediaSliderView
Pure java based, highly customizable media slider gallery supporting both images and videos for android.
Stars: ✭ 85 (+254.17%)
Mutual labels:  gallery, glide
AvatarImageGenerator
Android library to generate image avatar from the first letter of a username. Letter avatar like Gmail Android best practice
Stars: ✭ 61 (+154.17%)
Mutual labels:  picasso, glide
neon
Provides Jetpack Compose support for different image loading libraries.
Stars: ✭ 13 (-45.83%)
Mutual labels:  picasso, glide
google-photos-vue
Google Photos album viewer built with Vue.js
Stars: ✭ 17 (-29.17%)
Mutual labels:  gallery, album
Ptshowcaseviewcontroller
An initial implementation of a "showcase" view( controller) for iOS apps... Visualizes images, videos and PDF files beautifully! (by @pittleorg) [meta: image, photo, video, document, pdf, album, gallery, showcase, gallery, iOS, iPhone, iPad, component, library, viewer]
Stars: ✭ 395 (+1545.83%)
Mutual labels:  gallery, album
Picassopalette
Android Lollipop Palette is now easy to use with Picasso !
Stars: ✭ 366 (+1425%)
Mutual labels:  picasso, glide
Materialimageloading
Material image loading implementation
Stars: ✭ 396 (+1550%)
Mutual labels:  picasso, glide
Composable Images
The Composable Images is a library providing Jetpack Compose wrapper for Glide, Picasso, and Coil.
Stars: ✭ 107 (+345.83%)
Mutual labels:  picasso, glide
Imageloader
a wrapper for fresco,glidev3,v4, a solution for image load and big image preview, and provide debug tool for imageview
Stars: ✭ 224 (+833.33%)
Mutual labels:  glide, fresco
Album
🍉 Album and Gallery for Android platform.
Stars: ✭ 2,430 (+10025%)
Mutual labels:  gallery, album
Ptimagealbumviewcontroller
"Image Album" — or "Photo Album" if you like that better — View( Controller) for all crazy iOS developers out there...
Stars: ✭ 199 (+729.17%)
Mutual labels:  gallery, album
Telegramgallery
world level Gallery , from Telegram,Photo album selector,QQ style
Stars: ✭ 1,294 (+5291.67%)
Mutual labels:  gallery, album
Album
android 图片视频加载库,单选,多选,预览,自定义UI,相机,裁剪...等等 已适配android10,11
Stars: ✭ 53 (+120.83%)
Mutual labels:  gallery, album
Imageloaderframework
打造统一的图片加载框架,融合Glide(4.x),Fresco,不侵入业务代码,一套API兼容两种加载库
Stars: ✭ 422 (+1658.33%)
Mutual labels:  glide, fresco
Pickphotosample
Photo Picker Of Android Library
Stars: ✭ 457 (+1804.17%)
Mutual labels:  gallery, album

图片缩放以及相册的实现

一、效果图

image

二、支持功能

  • 图片缩放
  • 下拉退出
  • 可用于各大图片加载框架(Fresco,Glide,Picasso)

三、使用方式

3.1 AndroidManifest中注册

<activity android:name="com.rajesh.zlbum.ui.AlbumActivity" />

3.2 使用

//数据以ArrayList<String>的形式传递,传递完成后通过Uri.parse方法转换为ArrayList<Uri>
ArrayList<String> imageUri = new ArrayList<>();

Intent intent = new Intent(MainActivity.this, AlbumActivity.class);
intent.putExtra(AlbumActivity.INTENT_IMAGE, imageUri);
intent.putExtra(AlbumActivity.INTENT_INDEX, 0);
startActivity(intent);

四、不同网络加载框架使用

不同的网络加载框架,需要PhotoView继承不同的engine。

  • 使用Fresco时,PhotoView extends FrescoImageView
  • 使用Glide时,PhotoView extends GlideImageView
  • 使用Picasso时,PhotoView extends PicassoImageView

五、注意事项

Fresco加载drawable资源时的方式和Glide、Picasso有所不同。

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].