All Projects → wufenglincheng → ImageTrans

wufenglincheng / ImageTrans

Licence: other
一个仿微信的图片查看过渡动画demo 支持拖动图片手势返回 ,缩略图与原图无缝切换

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ImageTrans

notify-server
🍰微信消息通知
Stars: ✭ 190 (+352.38%)
Mutual labels:  weixin
jhw-wx-app
微信小程序(简单)-通用模板商城
Stars: ✭ 23 (-45.24%)
Mutual labels:  weixin
YHThirdManager
一个快速、简单、易集成、扩展性好的社交化组件。摒弃友盟等三方库,使用原生SDK。支持微信支付、微信分享、微信登录、微信授权、QQ授权、QQ分享、QQ登录、新浪授权、新浪登录、新浪分享、微博评论、微博获取、支付宝支付。极大的减小了包体积;同时加入了自动管理提示框的功能
Stars: ✭ 41 (-2.38%)
Mutual labels:  weixin
jest-preset-coffeescript
🃏 Easily write your Jests in @coffeescript.
Stars: ✭ 18 (-57.14%)
Mutual labels:  transform
weixin.next
.Net 下的微信公众号/微信支付库
Stars: ✭ 28 (-33.33%)
Mutual labels:  weixin
wxBase64
🏗️在小程序中使用 js-base64 库
Stars: ✭ 19 (-54.76%)
Mutual labels:  weixin
weixin-service
java微信开发版本三:gradle、springboot、redis、quartz、lombok
Stars: ✭ 14 (-66.67%)
Mutual labels:  weixin
ts-transform-react-constant-elements
A TypeScript AST Transformer that can speed up reconciliation and reduce garbage collection pressure by hoisting React elements to the highest possible scope.
Stars: ✭ 44 (+4.76%)
Mutual labels:  transform
babel-plugin-transform-for-of-as-array
Transform all for-of loops into the equivalent array for loop
Stars: ✭ 14 (-66.67%)
Mutual labels:  transform
dft
Discrete Fourier transform
Stars: ✭ 25 (-40.48%)
Mutual labels:  transform
server
即时通讯(IM)系统
Stars: ✭ 6,896 (+16319.05%)
Mutual labels:  weixin
taro-icons
基于 Taro 的小程序图标库
Stars: ✭ 53 (+26.19%)
Mutual labels:  weixin
edu
微信小程序编写的移动互联网教育平台
Stars: ✭ 41 (-2.38%)
Mutual labels:  weixin
typescript-transform-jsx
Typescript transform jsx to string
Stars: ✭ 22 (-47.62%)
Mutual labels:  transform
XYFSnowAnimation
A category of NSTimer for showing 3D Fluttered animation for iOS, which is used very simply. Lightweight CALayer animation, core animation, 3D transform, performance safety. iOS 3D三维飘落下雪落花动画,轻量级CALayer图层动画,核心动画,3D形变,性能安全,定时器NSTimer分类,直接使用,很简单
Stars: ✭ 15 (-64.29%)
Mutual labels:  transform
wwas
wifidog auth server for supporting wfc payment and weixin lian
Stars: ✭ 69 (+64.29%)
Mutual labels:  weixin
mochat-java
基于企业微信的开源应用开发框架&引擎,也是一套通用的企业私域流量管理系统!
Stars: ✭ 179 (+326.19%)
Mutual labels:  weixin
ts-transform-react-jsx-source
TypeScript AST Transformer that adds source file and line number to JSX elements
Stars: ✭ 12 (-71.43%)
Mutual labels:  transform
wechat-webview-debug
模拟微信应用中打开网页时原生注入的 WeixinJSBridge 对象,方便在开发环境中调试
Stars: ✭ 19 (-54.76%)
Mutual labels:  weixin
navis
Python 3 library for analysis of neuroanatomical data
Stars: ✭ 68 (+61.9%)
Mutual labels:  transform

ImageTrans

简单的封装了一个仿微信的图片查看过渡动画demo

  • 1.支持4种裁剪方式(CENTER_CROP、START_CROP、END_CROP、FIT_XY)的缩略图到原图的无缝过渡(支持长图)
  • 2.仿照微信的下拉手势关闭图片
具体demo 请下载:demo.apk

预览

根据四种缩略图裁剪方式变形动画

使用方法

 ImageTrans.with(context)
                     .setImageList(imageList)
                     .setNowIndex(clickPos)
                     .setSourceImageView(new SourceImageViewGet())
                     .setProgressBar(new ProgressViewGet())
                     .setImageLoad(new ImageLoad())
                     .setAdapter(new ImageTransAdapter())
                     .show();

可选设置

setConfig(new ITConfig())
方法 说明
enableReadMode(boolean) 是否开启阅读模式,针对长图默认适宽显示
largeThumb() 预览图适宽显示,默认父容器宽度的1/2显示
readModeRule(float) 自定义长图的判断标准,默认视图高度的1.5倍
noThumbWhenCached() 当有缓存的时候不显示预览图,直接显示原图
noThumb() 不显示预览图
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].