package com.basgeekball.screenshotsnanny.core;

import java.util.ArrayList;

public class ActivityCounter {

    public static ArrayList<Class<?>> activities = new ArrayList<Class<?>>();

    private ActivityCounter() {
    }

    public static void add(Class<?> T) {
        activities.add(T);
    }

    public static boolean isCalledAlready(Class<?> T) {
        return activities.contains(T);
    }
}

Add ActivityCounter to help mark activity executed