groupon / FeatureAdapter

FeatureAdapter (FA) is an Android Library providing an optimized way to display complex screens on Android.
Apache License 2.0
113 stars 12 forks source link

fix https://github.com/groupon/FeatureAdapter/issues/14 #15

Closed ww2lin closed 6 years ago

ww2lin commented 6 years ago

move invalid viewType check from ViewItem into FeatureAdapter

codecov-io commented 6 years ago

Codecov Report

Merging #15 into master will increase coverage by 1.12%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #15      +/-   ##
============================================
+ Coverage     62.84%   63.97%   +1.12%     
- Complexity       76       81       +5     
============================================
  Files            14       14              
  Lines           401      408       +7     
  Branches         45       46       +1     
============================================
+ Hits            252      261       +9     
+ Misses          139      138       -1     
+ Partials         10        9       -1
Impacted Files Coverage Δ Complexity Δ
...main/java/com/groupon/featureadapter/ViewItem.java 100% <ø> (+33.33%) 1 <0> (ø) :arrow_down:
...va/com/groupon/featureadapter/FeaturesAdapter.java 68.53% <100%> (+3.53%) 20 <5> (+5) :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 95b386b...6075d31. Read the comment docs.

stephanenicolas commented 6 years ago

RTM