Coder Social home page Coder Social logo

boring's Introduction

随 心

刚开始写这个项目的时候是为了自己的毕业设计。 后来慢慢的就想借这个项目来巩固自己的Android编程技能,也可以更好的站在全局来考虑项目的开发,而不只是需求的迭代开发。

APP细节

API

模块设计架构

  • 音乐播放模块的大体架构

    • MusicServie负责维护音乐播放
      • 管理 MediaPlayer
      • 管理 播放队列
    • Client 与 MusicService的通讯
      • MusicService 会开启一个广播接收者,根据相应的广播Action,处理相应的事件
      • 抽取音乐播放Action类, 即发送特定的Action来控制音乐播放
      • Client 通过广播接收者,来更新音乐播放相关UI : 进度、播放状态等
      • Client 通过Action类,向Service的广播接收者发送特定的Action,来实现音乐的控制。
  • 阅读模块的大体架构

    • 知乎阅读
      • StickHeader的实现,
      • 对于知乎文章的展示, 利用RxJava请求文章内容,文章的CSS样式, 然后拼接 Html内容,进行展示
    • 段子
      • 普通的RecyclerView列表
    • 图片
      • 通过分类window来切换图片请求的URI
      • 图片的查看,简单的实现缩放退出
  • 整个APP的收藏模块

    • 利用第三方关系型数据库, 泛型, 实现了简单的对象存储
    • 最简单的收藏就是: 收藏:把对象存入数据库, 删除收藏: 把对象从数据库中删除
  • APP 中RecylerView的使用

    • 通过对Adapter和ViewHolder的抽取
    • 整个具体UI的展现, 可以说是面向 ItemHandler 的编程。
  • 接下来事情不是很多,对整个APP还会慢慢优化。

APP截图

图片名称

图片名称

图片名称

图片名称

图片名称

图片名称

图片名称

图片名称

图片名称

图片名称

boring's People

Contributors

susionsuc 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.