DevAhamed / MultiViewAdapter

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

Fixes incorrect adapter position being sent while calling notify method #78

Closed DevAhamed closed 5 years ago

DevAhamed commented 5 years ago

When 'clearAllSelections' method is called on a ListSection, notify method is called with incorrect position. This commit fixes the issue. This commit is upstreamed from 2.x branch.

codecov-io commented 5 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (3.x@945ed97). Click here to learn what that means. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##             3.x      #78   +/-   ##
======================================
  Coverage       ?   76.94%           
======================================
  Files          ?       20           
  Lines          ?     1106           
  Branches       ?      167           
======================================
  Hits           ?      851           
  Misses         ?      158           
  Partials       ?       97
Impacted Files Coverage Δ
...dapter/src/main/java/mva3/adapter/ListSection.java 87.7% <100%> (ø)

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 945ed97...bab0f8a. Read the comment docs.