This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CountDown { | |
//Interface a ser implementada por um listener | |
public interface CountDownListener { | |
//Chamado quando o valor de secondsLeft é alterado, | |
//quando for decrementado ou incrementado. | |
void onChange(long timeLeft); | |
//Chamado quando o contador chegar ao fim. | |
void onEnd(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Responsável por guardar o texto da resposta. | |
public class Answer { | |
private final String answerText; | |
public Answer(String text){ | |
this.answerText = text; | |
} | |
public String getText() { |