package com.base.filerecoveryrecyclebin.utils;

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

public class XingzuoStringManager {
    private static final List<String> xingzuolist = new ArrayList<>();
    private static final List<String> titlelist = new ArrayList<>();
    private static int currentCopyIndex = 0;

    static {
        // 初始化并添加文案到列表
        titlelist.add("Unlock the Secrets of the Universe!");
        titlelist.add("Discover Your Hidden Fortune!");
        titlelist.add("Your Fate is Written in the Stars!");
        titlelist.add("Unlock Your Future Today!");
        xingzuolist.add("Your daily horoscope holds the answers you've been searching for. Click now to discover them!");
        xingzuolist.add("Your horoscope is a gateway to new opportunities. Click now to unlock your destiny");
        xingzuolist.add("Today's horoscope reveals secrets that could change everything. Click now to see what's in store for you!");
        xingzuolist.add("Your daily horoscope is a treasure map to success and happiness. Don't miss out—click to find your path!");
    }

    public static String getNextDesc() {
        if (xingzuolist.isEmpty()) {
            return null; // 根据您的需要处理错误情况
        }
        String copy = xingzuolist.get(currentCopyIndex);
        currentCopyIndex = (currentCopyIndex + 1) % xingzuolist.size();
        return copy;
    }
    public static String getNextTitle() {
        if (titlelist.isEmpty()) {
            return null; // 根据您的需要处理错误情况
        }
        String copy = titlelist.get(currentCopyIndex);
        currentCopyIndex = (currentCopyIndex + 1) % titlelist.size();
        return copy;
    }
}
