luizgrp / SectionedRecyclerViewAdapter

An Adapter that allows a RecyclerView to be split into Sections with headers and/or footers. Each Section can have its state controlled individually.
MIT License
1.68k stars 372 forks source link

Improve getPositionInSection to throw exception when used with positions for header or footer #197

Closed luizgrp closed 4 years ago

codecov-io commented 4 years ago

Codecov Report

Merging #197 into master will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #197      +/-   ##
==========================================
+ Coverage   92.04%   92.08%   +0.03%     
==========================================
  Files           7        7              
  Lines         616      619       +3     
  Branches       79       80       +1     
==========================================
+ Hits          567      570       +3     
  Misses         26       26              
  Partials       23       23              
Impacted Files Coverage Δ
...yclerviewadapter/SectionedRecyclerViewAdapter.java 87.75% <100.00%> (+0.15%) :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 15e883d...5b6ab02. Read the comment docs.