letelete / sleep-cycle-alarm

This app helps managing your sleep habits, so you could wake up fully rested and rock your day! Sleep cycles matter.
GNU General Public License v3.0
56 stars 22 forks source link

Create WakeUpAtSetHourButton class #87

Closed letelete closed 6 years ago

letelete commented 6 years ago

Replace MainActivity animation processing by adding a new class with single responsibility for that. It has its own constructor to pass the button view as a parameter, nextly all of the operations are being called from MainActivity by hideWakeUpAtActionButton() and showWakeUpAtActionButton().

codecov[bot] commented 6 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@eee9d72). Click here to learn what that means. The diff coverage is 94.28%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #87   +/-   ##
=========================================
  Coverage          ?   46.83%           
=========================================
  Files             ?       34           
  Lines             ?      933           
  Branches          ?       45           
=========================================
  Hits              ?      437           
  Misses            ?      474           
  Partials          ?       22
Impacted Files Coverage Δ
...runokawka/poland/sleepcyclealarm/MainActivity.java 66.66% <100%> (ø)
...unokawka/poland/sleepcyclealarm/MainPresenter.java 81.81% <100%> (ø)
...land/sleepcyclealarm/ui/WakeUpAtSetHourButton.java 93.33% <93.33%> (ø)

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 eee9d72...33a4ae9. Read the comment docs.