Skip to content

Commit

Permalink
Added methods to programmatically set cvv editable.
Browse files Browse the repository at this point in the history
  • Loading branch information
GregSaintJean committed Jul 2, 2015
1 parent 59eb683 commit 2428dd2
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ public boolean getIsCardNameEditable() {
return mIsCardNameEditable;
}


public void setIsCardNameEditable(boolean isCardNameEditable) {
mIsCardNameEditable = isCardNameEditable;
redrawViews();
Expand Down Expand Up @@ -678,6 +679,15 @@ public void putChip(boolean flag) {
redrawViews();
}

public void setIsCvvEditable(boolean editable){
mCvvEditable =editable;
redrawViews();
}

public boolean getIsCvvEditable(){
return mCvvEditable;
}

/**
* Return the appropriate drawable resource based on the card type
*
Expand Down

0 comments on commit 2428dd2

Please sign in to comment.