Skip to content

Commit

Permalink
Fix initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete authored Feb 4, 2017
1 parent 8f60d4b commit 1a16c7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,12 @@ public void setChecked(boolean flag) {

public void setInactiveImage(int inactiveResource){
this.imageResourceIdInactive = inactiveResource;
imageView.setImageResource(imageResourceIdInactive);
imageView.setImageResource(isChecked ? imageResourceIdActive : imageResourceIdInactive);;
}

public void setActiveImage(int activeResource){
this.imageResourceIdActive = activeResource;
imageView.setImageResource(imageResourceIdActive);
imageView.setImageResource(isChecked ? imageResourceIdActive : imageResourceIdInactive);;
}

public void setEventListener(SparkEventListener listener) {
Expand Down

0 comments on commit 1a16c7d

Please sign in to comment.