Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新 #1

Merged
merged 322 commits into from
May 14, 2018
Merged

最新 #1

merged 322 commits into from
May 14, 2018

Conversation

YXHTom
Copy link
Owner

@YXHTom YXHTom commented May 14, 2018

获取最新

CymChad and others added 30 commits March 17, 2017 11:14
通过`addOnLongClickListener`添加多个child item点击事件时,长按其中一个,所有child item都会触发点击反馈效果。
原因是:本例通过`setPressed`设置时,`ViewGroup`会通过`dispatchSetPressed`分发点击状态,`dispatchSetPressed`中判断如果child没有clickable标识时则同时分发至child view。
通过设置child item为clickable/longClickable,可以阻止该状态分发。
2. support adapter.setOnItemClickListener
2. support adapter.setOnItemClickListener
2. support adapter.setOnItemClickListener
2. support adapter.setOnItemClickListener
修复当添加多个子view点击事件时,长按item会触发所有子view的点击反馈效果
…dapterHelper

# Conflicts:
#	library/src/main/java/com/chad/library/adapter/base/BaseViewHolder.java
…dapterHelper

# Conflicts:
#	library/src/main/java/com/chad/library/adapter/base/BaseViewHolder.java
…dapterHelper

# Conflicts:
#	library/src/main/java/com/chad/library/adapter/base/BaseViewHolder.java
…dapterHelper

# Conflicts:
#	library/src/main/java/com/chad/library/adapter/base/BaseViewHolder.java
support adapter.setOnItemClickListene
chaychan and others added 29 commits March 30, 2018 12:25
提交MultipleItemRvAdapter相关代码以及demo中添加其使用示例
2. upgrade gradle version
3. upgrdle plugin
MultipleItemRvAdapter new support for custom ViewHolder
2. upgrade gradle version
3. upgrdle plugin
4. add closeLoadAnimation
1 add new api closeLoadAnimation
2. remove multipleItemRvAdapter clickListener
2. Replace reflections with native methods
…mClickListener回调的问题,如有设置onItemClickListener则不回调到itemProvider的onClick方法中,长按事件如同
2.Replace reflections with native method;
3.Improve item click event handling
1.Deprecated interface ItemProvideTag; 
2.Replace reflections with native method;
3. Improve item click event handling
…dapterHelper

# Conflicts:
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/ImgItemProvider.java
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/TextImgItemProvider.java
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/TextItemProvider.java
#	library/src/main/java/com/chad/library/adapter/base/MultipleItemRvAdapter.java
#	library/src/main/java/com/chad/library/adapter/base/provider/BaseItemProvider.java
#	library/src/main/java/com/chad/library/adapter/base/util/ProviderDelegate.java
…dapterHelper

# Conflicts:
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/ImgItemProvider.java
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/TextImgItemProvider.java
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/TextItemProvider.java
#	library/src/main/java/com/chad/library/adapter/base/MultipleItemRvAdapter.java
#	library/src/main/java/com/chad/library/adapter/base/provider/BaseItemProvider.java
#	library/src/main/java/com/chad/library/adapter/base/util/ProviderDelegate.java
refactor multipleItemRvAdapter
…dapterHelper

# Conflicts:
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/ImgItemProvider.java
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/TextImgItemProvider.java
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/TextItemProvider.java
#	library/src/main/java/com/chad/library/adapter/base/MultipleItemRvAdapter.java
#	library/src/main/java/com/chad/library/adapter/base/provider/BaseItemProvider.java
#	library/src/main/java/com/chad/library/adapter/base/util/ProviderDelegate.java
优化数据是否满一屏判断
…dapterHelper

# Conflicts:
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/ImgItemProvider.java
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/TextImgItemProvider.java
#	app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/provider/TextItemProvider.java
#	library/src/main/java/com/chad/library/adapter/base/MultipleItemRvAdapter.java
#	library/src/main/java/com/chad/library/adapter/base/provider/BaseItemProvider.java
#	library/src/main/java/com/chad/library/adapter/base/util/ProviderDelegate.java
@YXHTom YXHTom merged commit 85fca61 into YXHTom:master May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.