private void addAction(String label,int id,int type){
  CardAction cardAction=new CardAction();
  cardAction.label=label;
  cardAction.id=id;
  cardAction.type=type;
  mCardActions.add(cardAction);
}

private void addAction ( String label , int id , int type ) { CardAction cardAction = new CardAction ( ) ; cardAction . label = label ; cardAction . id = id ; cardAction . type = type ; mCardActions . add ( cardAction ) ; }
adds an action to this card during build time .
