Giter Site home page Giter Site logo

light's Introduction

动画碟片销量在线

动画碟片销量在线app相对传统的sakura网站方式,可视化上进行了极大的优化,也增加了推送功能,能够让日亚关注者第一时间得到排名变化情况。

Feature

  • 多样化的推送
  • 可视化的数据图表
  • 还可以的UI

图片预览

主要的开源组件

  1. Retrofit 一个非常棒的网络请求框架
  2. RxJava/RxAndroid 没什么好说的,挺有名了
  3. leakcanary 检测内存泄漏,非常好用
  4. materialdrawer 比google官方的更简易,更具有可定制性的侧滑栏
  5. blurview 效果还过得去的模糊view
  6. material MD向下兼容库,统一UI必备
  7. FlycoTabLayout (项目中修改了Tab指示器和字体、间距等)
  8. hellocharts (项目中进行了少量的修改,使得支持Y轴反转)
  9. AndroidSwipeLayout (项目中进行了少量的修改,解决少数机型bug问题)

推荐的Document

  1. 给Android开发者的RxJava详解
  2. RxJava与Retrofit结合的最佳实践
  3. Material Design中文版

Note

  1. 本人技术和见识都有限,自己认为好的不一定是被认可的,可取的,我希望大家不吝赐教:)
  2. 我一直在自己的nexus上开发的,版本是6.0,回过头看了下4.X的样子,效果有点糟糕,比想象中的还要糟糕一点,所以最好用5.0以上的系统体验.

light's People

Contributors

fuhaiwei avatar hanfengsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

light's Issues

sakura.do的返回结果中,有关于碟片类型的字段。

sakura.do的返回结果中,有关于碟片类型的字段。
例如
"type":1
"amzver":false

其中type的取值为0~5,分别对应。
CD, BD, DVD, BD_BOX, DVD_BOX, OTHER

amzver的取值为true或false
分别代表是否为尼限定版本

这个文件 app/src/main/java/com/yakami/light/adapter/FRankAdapter.java
的第73 到 92行,可以根据这两个字段做更精确的判定。

尤其是DVD BOX和BD BOX的判定会更精确,因为DVD BOX名字中不会有[DVD]。

            String name = rank.getName();
            if (!name.contains("尼限定") && !name.contains("[DVD]")) {
                newHolder.tagView.setVisibility(View.GONE);
            }
            if (name.contains("尼限定")) {
                newHolder.tagView.setVisibility(View.VISIBLE);
                newHolder.tagView.setText("尼限");
                newHolder.tagView.setBgColor(mRes.getColor(R.color.PeterRiver));
            }
            if (name.contains("[DVD]")) {
                newHolder.tagView.setVisibility(View.VISIBLE);
                newHolder.tagView.setText("DVD");
                newHolder.tagView.setBgColor(mRes.getColor(R.color.emerald));
            }
            if (name.contains("尼限定") && name.contains("[DVD]")) {
                newHolder.tagView.setVisibility(View.VISIBLE);
                newHolder.tagView.setText("尼DVD");
                newHolder.tagView.setBgColor(mRes.getColor(R.color.soft_purple));
            }

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.