GithubHelp home page GithubHelp logo

demoprojects's Introduction

为了更好的交互体验

图片裁剪器,为各位追求用户体验的daLao提供更优质的服务 它能够

  • 按需求比例裁剪图片,或者按照指定尺寸输出
  • 它是一个view不是activity,所以并不需要在AndroidManifest.xml中注册
  • RxImagePicker 搞到图片只要1行代码

image

彩蛋

内含对Android6.0动态权限的申请的处理 PermissionUtils

推荐使用 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.3@aar'

封装了获得图片的逻辑,调用炒鸡简单 PictureInquirer

那么根据rxpermissionsrxFragment实现思路, PictureInquirer也可以出rx版的。github上已有各种rxPicker 学习中

  • 从相册中取出一张原图
new RxImagePicker(activity)
    .queryAlbum()
    .subscribe(new Consumer<String>() {
        @Override
        public void accept(@NonNull String output) throws Exception {
            Glide.with(imageView.getContext()).load(output).into(imageView);
        }
    });

图片查看器,为各位追求用户体验的daLao提供更优质的服务 它能够

  • 点击图片时以一种无缝顺畅的动画切换到图片查看的界面,同样以一种无缝顺畅的动画退出图片查看界面
  • 支持多图查看,快速翻页,双击放大,单击退出,双手缩放旋转图片
  • 下拽退出查看图片的操作,以及效果是本View的最大卖点(仿微信)

image

撸码~弃坑.纠结中...

彩蛋

  • WaterRefreshHeader 高仿iOS QQ 水滴下拉

image

  • expandable + stickyHeader RecyclerView

image

高逼格 Toast?

image

休息中...

demoprojects's People

Contributors

ielse avatar iielse avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.