DevAhamed / MultiViewAdapter

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

Change behavior of HeaderSection #86

Closed DevAhamed closed 5 years ago

DevAhamed commented 5 years ago

HeaderSection was previously designed to display a header and list of items. So it used ItemSection and ListSection internally. Now HeaderSection is modified to use ItemSection and NestedSection internally. This allows us to add any type of section below the header. Necessary changes are made in test cases and sample apps as well.

codecov-io commented 5 years ago

Codecov Report

Merging #86 into 2.x will increase coverage by 0.4%. The diff coverage is 59.09%.

Impacted file tree graph

@@            Coverage Diff            @@
##              2.x      #86     +/-   ##
=========================================
+ Coverage   72.85%   73.25%   +0.4%     
=========================================
  Files          20       20             
  Lines        1153     1148      -5     
  Branches      172      169      -3     
=========================================
+ Hits          840      841      +1     
+ Misses        216      213      -3     
+ Partials       97       94      -3
Impacted Files Coverage Δ
...dapter/src/main/java/mva2/adapter/TreeSection.java 59.15% <100%> (+2.43%) :arrow_up:
...ew-adapter/src/main/java/mva2/adapter/Section.java 70.23% <100%> (-0.22%) :arrow_down:
...pter/src/main/java/mva2/adapter/HeaderSection.java 56.81% <43.75%> (+1.71%) :arrow_up:
...pter/src/main/java/mva2/adapter/NestedSection.java 74.66% <0%> (+0.9%) :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 0eacba6...262a0ea. Read the comment docs.