All Projects → Dawish → Mdplayer

Dawish / Mdplayer

🔥 MDPlayer,Android万能播放器,支持视频大小窗口无缝切换,基于ijklayer+MVP+RxJava+Retrofit+Material Design开发。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Mdplayer

Andlinker
AndLinker is a IPC library for Android, which combines the features of AIDL and Retrofit. Allows IPC call seamlessly compose with RxJava and RxJava2 call adapters.
Stars: ✭ 440 (-4.97%)
Mutual labels:  rxjava, retrofit2
catchflicks
🎬 Kitchen sink project for learning android concepts 🎬
Stars: ✭ 12 (-97.41%)
Mutual labels:  rxjava, retrofit2
BookReader
📕 "任阅" 网络小说阅读器,3D翻页效果、txt/pdf/epub书籍阅读、Wifi传书~
Stars: ✭ 6,113 (+1220.3%)
Mutual labels:  rxjava, retrofit2
UseCases
This a library that offers a generic implementation of the data layers from the clean architecture by Uncle bob.
Stars: ✭ 23 (-95.03%)
Mutual labels:  rxjava, retrofit2
Rxeasyhttp
本库是一款基于RxJava2+Retrofit2实现简单易用的网络请求框架,结合android平台特性的网络封装库,采用api链式调用一点到底,集成cookie管理,多种缓存模式,极简https配置,上传下载进度显示,请求错误自动重试,请求携带token、时间戳、签名sign动态配置,自动登录成功后请求重发功能,3种层次的参数设置默认全局局部,默认标准ApiResult同时可以支持自定义的数据结构,已经能满足现在的大部分网络请求。
Stars: ✭ 3,021 (+552.48%)
Mutual labels:  rxjava, retrofit2
jshodan
Powerful Shodan API client using RxJava and Retrofit
Stars: ✭ 56 (-87.9%)
Mutual labels:  rxjava, retrofit2
AndroidMVPArchitecture
Android MVP architecture sample project with or without RxJava and Dagger2 and Kotlin
Stars: ✭ 78 (-83.15%)
Mutual labels:  rxjava, retrofit2
iMoney
iMoney 金融项目
Stars: ✭ 55 (-88.12%)
Mutual labels:  rxjava, retrofit2
Friendbook
📕 "友书" 小说阅读app
Stars: ✭ 275 (-40.6%)
Mutual labels:  rxjava, retrofit2
Gank
gank.io unofficial client - RxJava2、Retrofit2 & MVP技术干货
Stars: ✭ 256 (-44.71%)
Mutual labels:  rxjava, retrofit2
NewsReader
Android News Reader app. Kotlin Coroutines, Retrofit and Realm
Stars: ✭ 21 (-95.46%)
Mutual labels:  rxjava, retrofit2
Androidproject
Android 技术中台,但愿人长久,搬砖不再有
Stars: ✭ 4,398 (+849.89%)
Mutual labels:  rxjava, retrofit2
RxHttp
基于RxJava2+Retrofit+OkHttp4.x封装的网络请求类库,亮点多多,完美兼容MVVM(ViewModel,LiveData),天生支持网络请求和生命周期绑定,天生支持多BaseUrl,支持文件上传下载进度监听,支持断点下载,支持Glide和网络请求公用一个OkHttpClient⭐⭐⭐
Stars: ✭ 25 (-94.6%)
Mutual labels:  rxjava, retrofit2
AndroidTutorials
Ejemplos Android [Dagger2,RxJava,MVP,Retrofit2,SQLite]
Stars: ✭ 22 (-95.25%)
Mutual labels:  rxjava, retrofit2
BaseDevelop
an android project for now fashion open source framework
Stars: ✭ 24 (-94.82%)
Mutual labels:  rxjava, retrofit2
Fineract-CN-mobile
DEPRECATED project - Check the Apache fineract-cn-mobile project instead
Stars: ✭ 17 (-96.33%)
Mutual labels:  rxjava, retrofit2
photon
Fast and light image loading library based on kotlin
Stars: ✭ 20 (-95.68%)
Mutual labels:  rxjava, retrofit2
MusicUU
一款让你解决下歌烦恼的APP
Stars: ✭ 15 (-96.76%)
Mutual labels:  rxjava, retrofit2
RxRetroAPICall
API call example using Retrofit and RxJava2
Stars: ✭ 16 (-96.54%)
Mutual labels:  rxjava, retrofit2
Kotlinmvp
🔥 基于Kotlin+MVP+Retrofit+RxJava+Glide 等架构实现短视频类小项目,简约风格及详细注释,欢迎 star or fork!
Stars: ✭ 3,488 (+653.35%)
Mutual labels:  rxjava, retrofit2

MDPlayer万能播放器

MDPlayer,基于ijkplayer+Rxjava+Rxandroid+Retrofit2.0+MVP+Material Design的android万能播放器,可以播放本地和在线视频,可以浏览宅男杀手妹纸图片,UI设计遵循 Material Design。

作者博客:http://blog.csdn.net/u010072711


MDPlayer 2.0最新GIF效果图:

Alt text

UI浏览:

Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text

1.UI设计:

  • 列表使用RecyclerView,item为CardView并设置ripple波纹点击效果
  • viewpager指示器使用TabLayout
  • 侧滑栏使用NavigationView
  • 图片详情使用开源控件PhotoView,支持大缩小,旋转等等操作。
  • FloatingButton为开源控件FloatingActionMenu

2.App设计:

  • MVP架构,第一次真正使用MVP,真的使用了才会发现MVP的优势,MVP可以使Activity和Fragment非常简洁,Activity和Fragment中也不需要知道是怎么操作和流转的,我们只需要在回调接口中操作更新UI就可以了。
  • 所以得异步操作都使用Rxjava+Rxandroid,以前也是没用过,用过才发现、Rxjava是真的强大,Rxjava拥有非常丰富的操作符,我们灵活使用Rxjava可以创造无限可能,Rxjava就像搭建积木,Rxjava的操作符就行是积木块,使用Rxjava我们可以搭建出各种各种的积木,可以创造出很多可能,前提是你对Rxjava十分了解。
  • 网络请求采用retrofit2.0,retrofit2.0本身就很强大,配合、Rxjava后就更加强大了,retrofit2.0的使用我还没有更加深入的研究,日后再搞。
  • 离线缓存,离线缓存策略为,每次进入都是显示上一次的数据,本次的数据缓存下来,留着下一次显示,这样可以加快UI显示速度,可以离线使用App。
  • 图片加载使用picasso,picasso本身支持本地缓存。

3.知识点:

通过本app你可以学到:

  • ijkplayer-android 编译封装和集成
  • MVP架构,虽然我的这个app不是很复杂,但是大概的MVP是有的,首先我承认我的Model层写得不是很好。
  • 可以学习到Rxjava的使用,使用Rxjava递归读取内存所有的视频文件并分类,可以学习到justfromflatMapgroupByfilter等Rxjava操作符,相对别的app我用到的操作符相对还算多的。
  • 学习到retrofit2.0的使用,结合Rxjava做网络请求。
  • 离线缓存,可以学习到离线数据缓存策略,以及缓存工具的使用。
  • BaseActivityBaseFragmentBaseRecyclerViewAdapterBaseRecyclerViewHolder的封装。
  • Material Design和android5.0以后的新控件使用

4.依赖库:

    //FloatingActionMenu
    compile 'com.github.clans:fab:1.6.4'
    //retrofit
    compile 'com.squareup.retrofit:retrofit:2.0.0-beta2'
    compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2'
    compile 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta2'
    //Rxjava + Rxandroid
    compile 'io.reactivex:rxandroid:1.2.0'
    compile 'io.reactivex:rxjava:1.1.5'
    //blurview
    compile 'com.eightbitlab:blurview:1.0.2'
    //photoview
    compile 'com.bm.photoview:library:1.4.0'
    //picasso
    compile 'com.squareup.picasso:picasso:2.5.2'
    //umeng
    compile 'com.umeng.analytics:analytics:latest.integration'

5.APK下载:

上架中...

6.知识点引导:

7.下版本改进

  • 下版本希望改进model层,对数据操作更加简洁
  • 增加视频播放历史记录
  • 自定义视频播控
  • 使用注解替代findViewById
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].