// Path: chapter6-geoquiz-challenges/app/src/main/java/com/olerass/pfexample/android/geoquiz/domain/cheat/CheatView.java
// public interface CheatView {
//     void setAnswer(String answer);
// 
//     void whenShowAnswerRequested(EventListener listener);
// }
// 
// Path: chapter6-geoquiz-challenges/app/src/main/java/com/olerass/pfexample/android/geoquiz/domain/event/Event.java
// public class Event {
//     private List<EventListener> listeners = new ArrayList<>();
// 
//     public void addListener(EventListener listener) {
//         listeners.add(listener);
//     }
// 
//     public void dispatch() {
//         for (EventListener listener : listeners) {
//             listener.onDispatch();
//         }
//     }
// }
// 
// Path: chapter6-geoquiz-challenges/app/src/main/java/com/olerass/pfexample/android/geoquiz/domain/event/EventListener.java
// public interface EventListener {
//     void onDispatch();
// }


import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.app.Activity;
import android.os.Build;
import android.view.View;
import android.view.ViewAnimationUtils;
import android.widget.Button;
import android.widget.TextView;
import com.olerass.pfexample.android.geoquiz.R;
import com.olerass.pfexample.android.geoquiz.domain.cheat.CheatView;
import com.olerass.pfexample.android.geoquiz.domain.event.Event;
import com.olerass.pfexample.android.geoquiz.domain.event.EventListener;
package com.olerass.pfexample.android.geoquiz.platform;



public class AndroidCheatView implements CheatView {
    private TextView answerTextView;
    private Button showAnswerButton;
    private TextView apiLevelTextView;
// Path: chapter6-geoquiz-challenges/app/src/main/java/com/olerass/pfexample/android/geoquiz/domain/cheat/CheatView.java
// public interface CheatView {
//     void setAnswer(String answer);
// 
//     void whenShowAnswerRequested(EventListener listener);
// }
// 
// Path: chapter6-geoquiz-challenges/app/src/main/java/com/olerass/pfexample/android/geoquiz/domain/event/Event.java
// public class Event {
//     private List<EventListener> listeners = new ArrayList<>();
// 
//     public void addListener(EventListener listener) {
//         listeners.add(listener);
//     }
// 
//     public void dispatch() {
//         for (EventListener listener : listeners) {
//             listener.onDispatch();
//         }
//     }
// }
// 
// Path: chapter6-geoquiz-challenges/app/src/main/java/com/olerass/pfexample/android/geoquiz/domain/event/EventListener.java
// public interface EventListener {
//     void onDispatch();
// }


// Path: chapter6-geoquiz-challenges/app/src/main/java/com/olerass/pfexample/android/geoquiz/platform/AndroidCheatView.java
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.app.Activity;
import android.os.Build;
import android.view.View;
import android.view.ViewAnimationUtils;
import android.widget.Button;
import android.widget.TextView;
import com.olerass.pfexample.android.geoquiz.R;
import com.olerass.pfexample.android.geoquiz.domain.cheat.CheatView;
import com.olerass.pfexample.android.geoquiz.domain.event.Event;
import com.olerass.pfexample.android.geoquiz.domain.event.EventListener;

package com.olerass.pfexample.android.geoquiz.platform;



public class AndroidCheatView implements CheatView {
    private TextView answerTextView;
    private Button showAnswerButton;
    private TextView apiLevelTextView;
    private Event showAnswerEvent = new Event();