// 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 com.olerass.pfexample.android.geoquiz.domain.event.Event;
import com.olerass.pfexample.android.geoquiz.domain.event.EventListener;
package com.olerass.pfexample.android.geoquiz.domain.question;


public class StandardQuestionModel implements QuestionModel {
    private Question[] questions;
    private int currentIndex = 0;
// 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: chapter2-geoquiz-challenges/app/src/main/java/com/olerass/pfexample/android/geoquiz/domain/question/StandardQuestionModel.java
import com.olerass.pfexample.android.geoquiz.domain.event.Event;
import com.olerass.pfexample.android.geoquiz.domain.event.EventListener;

package com.olerass.pfexample.android.geoquiz.domain.question;


public class StandardQuestionModel implements QuestionModel {
    private Question[] questions;
    private int currentIndex = 0;
    private Event questionTextChangedEvent = new Event();