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 'selection' and 'expansion' behaviour #74

Closed DevAhamed closed 5 years ago

DevAhamed commented 5 years ago

When the sections have selection/expansion mode as single and adapter has mode as multiple, then incorrect mode is set for adapter. This is discussed in this issue #72. Same issue has been fixed in 2.x branch as well.

Failing test cases were added to accept and verify the issue was resolved.

codecov-io commented 5 years ago

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff           @@
##             3.x      #74   +/-   ##
======================================
  Coverage       ?   76.74%           
======================================
  Files          ?       20           
  Lines          ?     1105           
  Branches       ?      169           
======================================
  Hits           ?      848           
  Misses         ?      158           
  Partials       ?       99
Impacted Files Coverage Δ
...pter/src/main/java/mva3/adapter/NestedSection.java 77.25% <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 c51adf4...17f9538. Read the comment docs.