Skip to content

tang1992xin/DemoRecyclerView01

Repository files navigation

1.1DividerItemDecoration 来自github Android没有提供RecyclerView.ItemDecoration的子类 1.2在Item中用margin可以间隔开item

1.3巧秒的用系统语义相同的属性 通过context.obtainStyledAttributes(ATTRS);访问属性 以后自己写View或其它类可这么用

2.1PopupMenu的使用

3.1Recyclerview产生宽度的item

3.2LayoutParams重新设置控制大小

4.1 选择器的使用 5.为RecyclerView写onClick与onLongClick 、写接口回调 6.Item添加后 点击item显示item的位置 Resource Link: DividerItemDecoration.java https://gist.github.com/alexfu/0f464fc3742f134ccd1e RecycleViewItemAnimators https://github.com/gabrielemariotti/RecyclerViewItemAnimators http://www.imooc.com/learn/424 imooc中recyclerview学习

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages