# Android_5.0_ViewDemo **Repository Path**: picassoSpring/Android_5.0_ViewDemo ## Basic Information - **Project Name**: Android_5.0_ViewDemo - **Description**: 一些基于 Android 5.0/6.0/N 新特性的小案例 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #一些基于 Android 5.0/6.0/N 新特性的小案例 ##分类介绍 ###[AsyncTaskDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/AsyncTaskDemo) - 异步任务案例 博客上面异步任务的案例 ###[BlurDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/BlurDemo) - 高斯模糊案例 最容易实现且效果还不错的高斯模糊效果 ###[ButtonAnimation](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/ButtonAnimation) - 按钮点击的水波效果 通过四个按钮的对比,观察三种默认效果的区别,以及自定义效果的实现。 ###[ChangeThemeDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/ChangeThemeDemo) - 切换主题样式案例 通过按钮动态切换主题样式。 ###[CommonAdapterDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/CommonAdapterDemo) - 万能通用适配器实现 一般 ListView 都会有一个对应的 Adapter ,那如果项目中有很多 ListView 的话,Adapter 写起来会非常的冗余,所有这里有个通用的万能的 Adapter 的写法 ###[DataBindingDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/DataBindingDemo) - 数据绑定的案例 与博文对应的案例,讲解 DataBinding 的基本使用,及其一些需要注意的地方 ###[DragLayoutDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/DragLayoutDemo) - 拖拽布局案例 - 有移动动画 - 实现过渡效果 - 实现拖拽效果 ###[FirstMVPDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/FirstMVPDemo/src/main) - MVP 入门登录案例 - MVP 架构入门案例 - 基于 MD 风格 > 项目 push 出错,但核心代码仍在 ###[FirstRxJavaDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/FirstRxJavaDemo) - RxJava 入门案例 - RxJava 入门级使用方法 - 一些重要操作符的用法 - 附有博文介绍 ###[FloatBubbleView](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/FloatBubbleView) - 会呼吸的悬浮气泡 自定义 SurfaceView ,实现呼吸特效的悬浮气泡 ###[GsonArrayDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/GsonArrayDemo) - GSONj 解析数组的五种方式 用 GSON 如何有针对性的解析各种情况下的 JSONArray ###[HelloChartsDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/HelloChartsDemo) - 图表控件 重写 HelloCharts 的案例,介绍如何在项目中实现图表控件 ###[LoaderMVPDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/LoaderMVPDemo) - 用 Loader 解决 Presenter 周期问题 MVP 模式中的 Presenter 经常会引起内存泄漏问题,用 Loader 能从另外一个思路上解决此问题 ###[UpdateColorDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/UpdateColorDemo) - 动态更改标题栏颜色 标题栏会根据 ListView 首项颜色来进行更换 ###[NewSelector](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/NewSelector) - 定义选择器的新方式 Android5.0可以通过一张图片实现选择器的功能,本例用实现按钮的选择器。 ###[PaletteDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/PaletteDemo) - 调色板的功能 通过调色板,能够很轻易的取出一张图片中的多种颜色。 ###[ShadowDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/ShadowDemo) - 阴影效果及其裁剪 Android5.0的很重要的特性,就是添加Z轴方向的阴影。并提供裁剪方式。 ###[ToolBarDemo](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/ToolBarDemo) - 侧滑菜单的显示 Android5.0中新增的ToolBar能够取代ActionBar ###[VectorAnimation](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/VectorAnimation) - 矢量图动画 Android5.0新增的矢量图动画,动画更加平滑。 ###[RecyclerView](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/RecyclerView) - ListView替代者 - 用RecyclerView实现列表与网格效果 - 用RecyclerView实现瀑布流效果 - 实现卡片样式效果 - 实现下拉刷新效果 ###[TransitionAnimation](https://github.com/IamXiaRui/Android_5.0_ViewDemo/tree/master/TransitionAnimation) - Android5.0转场动画 - Explode : 分解裂开动画 - Fade : 淡入淡出动画 - Slide : 滑入滑出动画 - 共享元素动画