DevAhamed / MultiViewAdapter

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

TreeSection's behavior changed for decoration, default expansion status #82

Closed DevAhamed closed 5 years ago

DevAhamed commented 5 years ago
  1. Added a boolean param in constructor which determines whether the section should be expanded before being added to the adapter
  2. notifyItemChanged method is now called when the section expansion is toggled
  3. Overrides the decoration behavior from its parent.
  4. Updated test case with new constructor param
codecov-io commented 5 years ago

Codecov Report

Merging #82 into 2.x will decrease coverage by 0.55%. The diff coverage is 17.39%.

Impacted file tree graph

@@            Coverage Diff            @@
##             2.x      #82      +/-   ##
=========================================
- Coverage   73.4%   72.85%   -0.56%     
=========================================
  Files         20       20              
  Lines       1132     1153      +21     
  Branches     169      172       +3     
=========================================
+ Hits         831      840       +9     
- Misses       205      216      +11     
- Partials      96       97       +1
Impacted Files Coverage Δ
...dapter/src/main/java/mva2/adapter/TreeSection.java 56.71% <17.39%> (-8.51%) :arrow_down:
...ew-adapter/src/main/java/mva2/adapter/Section.java 70.45% <0%> (+1.13%) :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 2efea25...b889158. Read the comment docs.