DevAhamed / MultiViewAdapter

Easily create complex recyclerview adapters in android
https://devahamed.github.io/MultiViewAdapter
Apache License 2.0
818 stars 148 forks source link

Send pre-defined payload when item's selection/expansion is toggled #81

Closed DevAhamed closed 5 years ago

DevAhamed commented 5 years ago

When the item's selection/expansion is changed the 'notifyItemChanged' method is called. Previously the notify method was called with null payload. With this commit, now the notify method will be called with constant string as payload.

codecov-io commented 5 years ago

Codecov Report

Merging #81 into 2.x will not change coverage. The diff coverage is 75%.

Impacted file tree graph

@@          Coverage Diff          @@
##             2.x     #81   +/-   ##
=====================================
  Coverage   73.4%   73.4%           
=====================================
  Files         20      20           
  Lines       1132    1132           
  Branches     169     169           
=====================================
  Hits         831     831           
  Misses       205     205           
  Partials      96      96
Impacted Files Coverage Δ
...rc/main/java/mva2/adapter/decorator/Decorator.java 94.44% <ø> (ø) :arrow_up:
...adapter/src/main/java/mva2/adapter/ItemBinder.java 47.61% <ø> (ø) :arrow_up:
...pter/src/main/java/mva2/adapter/NestedSection.java 73.75% <ø> (ø) :arrow_up:
.../java/mva2/adapter/util/InfiniteLoadingHelper.java 77.41% <ø> (ø) :arrow_up:
...ter/src/main/java/mva2/adapter/ItemViewHolder.java 78.26% <ø> (ø) :arrow_up:
...ew-adapter/src/main/java/mva2/adapter/Section.java 69.31% <ø> (ø) :arrow_up:
...dapter/src/main/java/mva2/adapter/ListSection.java 87.7% <100%> (ø) :arrow_up:
...pter/src/main/java/mva2/adapter/HeaderSection.java 55.1% <50%> (ø) :arrow_up:
...dapter/src/main/java/mva2/adapter/ItemSection.java 56.71% <50%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 91396ae...4a53bfe. Read the comment docs.