Giter Site home page Giter Site logo

recyclerviewforcodereading's Introduction

Introduction

The source code of RecyclerView in Android support library is a bit hard for reading:

  • It hold almost all code of RecyclerView in a single file, which contains more than 20k+ lines.
  • The relation of classes is hard to recognize

So I rearrange the source, splitting the classes into separate files, make it better for code reading.

How to contribute

Translate comments into Chinese

Though the source of RecyclerView is well documented, it's a bit difficult for Chinese programmers to understand.

So I want translate the comments into Chinese, but keep the original English comment as well.

You can send PR to add or edit comments.

$HTT$

There are many comments that I can't understand. My English is not very good.

So, when I meet a sentence that I can't understand, A $HTT$ label is add.

You can help search $HTT$ label through the project, translating the sentence into Chinese and then send a PR.

Translation Terminology

English Chinese
attached 附着
adapter adapter (不译)
cache 缓存
children 子元素
detached 已分离
field 属性
items 项目
item views 项目视图
pre-layout pre-layout (不译)
removal 移除
scrapped 已销毁
unfiltered 未过滤
view group view group (不译)

License

I just rearrange the source, make almost nothing new to it.

So this project follows the license of Android support library.

recyclerviewforcodereading's People

Contributors

maxiee avatar

Watchers

James Cloos avatar  avatar  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.