vld

Project Url: Cuieney/vld
Introduction: App 界的一股清流 音视频应有尽有 完全按照 Material design 规范设计的 App
More: Author   ReportBugs   
Tags:
android-media-player-video-dagger2-mvp-greendao-retrofit-rxjava-rxandroid-

Life

App 界的一股清流

目前项目持续更新重构中(向 kotlin 靠拢)

Life is a Multimedia information app based on Material Design Kotlin + MVP + RxJava + Retrofit + Dagger2 + GreenDAO + Glide

life 是一个多媒体信息 app,基于 Material Design Kotlin + MVP + RxJava + Retrofit + Dagger2 + GreenDAO + Glide

做这款 app 主要是出于 Android 日常开发中或多或少的都会仿着 ios 的样式来写 ui(可能设计师就做了一份 ios 交互设计,android 只能跟着去写相同 ui),完全舍弃了 MD 风格,第一出于学习目的做的,第二出于想写一个完全按照 MD 风格的 App。 目前包括以下内容:

视频来自:开眼 http://www.eyepetizer.net/汇集各种炫酷视频

音乐来自:余音 http://app.mi.com/details?id=fm.wawa.mg/文艺骚年专属

文章来自:余音 http://www.wufazhuce.com/韩寒主编和监制

全景图片来自:kuula https://kuula.co/主要是图片质量很高

tips

1.本项目目前只是在开发测试阶段,发现 bug 或有好的建议欢迎 issues Email cuieney@163.com link.

2.本项目仅作为学习交流使用,API 数据内容所有权归原公司所有,请勿用于其他用途

3.目前项目几乎已经转型到 kotlin 了,代码所在目录 dir

4.针对第一次拉代码安装 apk 闪退(ClassNotFoundException),再次运行一下就好

Preview

media icon

media icon media icon media icon media icon media icon media icon media icon media icon media icon media icon

Download APK

(Android 5.0 or above)

URL

Points

使用 Rx 家族配合 Retrolambda 减少代码量
使用 RxJava 配合 Retrofit2 做网络请求
使用 Rxlifecycle 对订阅的生命周期做管理
使用 RxBus 来方便组件间的通信
使用 RxJava 其他操作符来做延时、轮询、转化、筛选等操
使用 okhttp3 对网络返回内容做缓存,还有日志、超时重连、头部消息的配置
使用 Material Design 控件和动画
使用 Ijkplayer 来实现播放视频功能
使用 MVP 架构整个项目,对应于 model、ui、presenter 三个包
使用 Dagger2 将 M 层注入 P 层,将 P 层注入 V 层,无需 new,直接调用对象
使用 GreenDAO 做阅读记录和收藏记录的增、删、查、改
使用 Glide 做图片的处理和加载
使用 Fragmentation 简化 Fragment 的操作和懒加载
使用 Statusbaruitl 动态的改变通知栏颜色
使用 XRecyclerView 实现下拉刷新、上拉加载
使用 SVG 及其动画实现 progressbar 的效果
包含搜索、收藏、检测更新等功能

Version

V2.7.0

1.修复视频不能播放 vr 不能展示 音乐播放问题待修复

V2.6.0

1.修复 vr tab 不能展示 vr 图片功能

V2.5.0

1.增加 vr 模块 panorama liveview 代码(to kotlin)

2.类似于 insta360 全景图片预览

3.你们的支持就是我最大的动力,持续更新中 (to kotlin)

V2.4.0

1.更新音乐和视频播放页面代码(to kotlin)

2.添加 umeng 收集错误

3.你们的支持就是我最大的动力,持续更新中 (to kotlin)

V2.3.0

1.music tab 更新为 kotlin 代码(功能并未完善)

2.你们的支持就是我最大的动力,持续更新中 (to kotlin)

V2.2.0

1.video tab 更新为 kotlin 代码(功能并未完善)

2.你们的支持就是我最大的动力,持续更新中 (to kotlin)

V2.1.0

1.添加 kotlin 代码块,essay tab 目前项目是 kotlin and java 混编

2.增加 kotlin act and fragment 基类 dagger2 等 (功能并未完善)

3.持续更新中 (to kotlin)

V2.0.0

1.增加 essay tab 页面,修改了一些 bug 更新了 app icon(功能并未完善)

V1.0.0

1.第一版本提交(功能并未完善)

Thanks

API

开眼 余音 一个 kuula

APP:

Material Design 官方提供了部分设计思路

android-architectureGankClient-Kotlin提供了 Dagger2 配合 MVP 的架构思路

还参考了很多大神的类似作品,感谢大家的开源精神

RES

iconfont 提供了 icon 素材

material UP 提供了 Material Design 风格的素材

LIB

UI

  1. BottomNavigation

  2. floatingsearchview

  3. expandableTextView

  4. xrecyclerview

  5. statusbaruitl

RX

  1. RxJava

  2. RxAndroid

  3. RxPermissions

  4. RxLifecycle

VIDEO

  1. ijkplayer

  2. GSYVideoPlayer

NETWORK

  1. Retrofit

  2. OkHttp

  3. Glide

  4. Gson

DI

  1. Dagger2

  2. ButterKnife

FRAGMENT

  1. Fragmentation

LOG

  1. Logger

DB

  1. greenDAO

CANARY

  1. BlockCanary
  2. leakcanary

License

Copyright (c) 2017 cuieney

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools