forked from CymChad/BaseRecyclerViewAdapterHelper
-
Notifications
You must be signed in to change notification settings - Fork 0
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
最新 #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
通过`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
rename github username
fix item long click bug
提交MultipleItemRvAdapter相关代码以及demo中添加其使用示例
2. upgrade gradle version 3. upgrdle plugin
1 .merge upstream
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
fix build error
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
获取最新