Giter Site home page Giter Site logo

zhanghuanwang / demox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chw12358/demox

0.0 1.0 0.0 61.28 MB

Android Kotlin常用功能demo:图片选择,图片裁剪,图片手势缩放,图片添加标记,动态切换主题色,带删除按钮的edittext, 加载在线PDF,带类别的recyclerview,recyclerview顶部悬停==recyclerview粘性头部(Sticky),paging分页加载、批量删除,bottomSheet拖拽效果,CollapsingToolbarLayout,自定义Spinner,DialogFragment,优化缓存和加载的Webview(处理webview乱窜,webview图片不能每次刷新出来),获取网页标签内容,WebView的自定义组件,FireBase Twitter Auth认证登陆,启动谷歌地图,FlexboxLayout(自动换行布局),引导页,滑动接听,

Java 18.89% Kotlin 79.46% JavaScript 0.03% HTML 1.62%

demox's Introduction

DemoX

Demo Android合集

图片的选择(裁剪):

img

图片手势缩放,滑动,平移:

img

给图片指定位置添加标记:

img

动态切换主题色:

img

输入时带删除按钮的EditText,自定义密码样式EditText:

img img

加载在线PDF:

img img

带类别的recyclerview:

带banner类别的效果是从此开源项目中抽出来的代码:https://github.com/git-xuhao/KotlinMvp

img img

Recyclerview顶部悬停效果,(跟随消失和覆盖效果):

img img

Recyclerview + FlexboxLayout(自动换行):

img

bottomSheet:

img

引导页:

img

滑动接听组件:

img

paging分页加载,批量删除:

img img

自定义Spinner:

img

可折叠的toolbar布局 CollapsingToolbarLayout:

效果代码是从此开源项目中抽出来的:https://github.com/git-xuhao/KotlinMvp

img

DialogFragment(底部删除栏效果):

img

获取网页标签内容(比如head,meta):

img

WebView的自定义组件(包含了等待加载,错误显示布局):

img img

优化了缓存和加载的自定义Webview(能解决离线缓存刷新乱窜,离线缓存图片隔一次才能加载):

左图为原生webview乱窜现象,右图为优化后的webview:

img img

Firebase Twitter Auth认证登陆:

img

Scheme启动谷歌地图:

img

demox's People

Contributors

crystalyf avatar

Watchers

James Cloos 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.