package com.base.datarecovery.utils;

import java.util.ArrayList;
import java.util.List;

public class DuplicatePhotoStringResourceManager {

    private static final List<String> duplicatePhotoCopyList = new ArrayList<>();
    private static int currentCopyIndex = 0;

    static {
        // 添加推送文案到列表
        duplicatePhotoCopyList.add("Discover duplicate photos and free up space on your device.");
        duplicatePhotoCopyList.add("Neat trick: Find and remove duplicate photos to instantly gain more storage.");
        duplicatePhotoCopyList.add("Twin photos taking up space? Identify and delete them easily with our app.");
        duplicatePhotoCopyList.add("Clear the clutter: Spot and remove look-alike photos to free up your phone.");
        duplicatePhotoCopyList.add("Don't let duplicates drain your storage. Clean up similar photos now.");
        duplicatePhotoCopyList.add("Double trouble? Find and delete duplicate photos to reclaim your space.");
    }

    public static String getNextCopy() {
        if (duplicatePhotoCopyList.isEmpty()) {
            return null; // 或者抛出一个异常，根据您的错误处理策略
        }
        String copy = duplicatePhotoCopyList.get(currentCopyIndex);
        currentCopyIndex = (currentCopyIndex + 1) % duplicatePhotoCopyList.size();
        return copy;
    }
}
