package com.base.filerecoveryrecyclebin.utils;

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

public class AppProcessStringManager {


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

    static {
        // 初始化并添加文案到列表
        appManagerCopies.add("Manage Your Apps: Keep your device running smoothly with our App Process Manager.");
        appManagerCopies.add("App Process Alert: Time to clean up your device's background processes.");
        appManagerCopies.add("Optimize Performance: Discover which apps are running in the background and manage them with ease.");
        appManagerCopies.add("App Process Check: Ensure your device is running efficiently by managing your app processes.");
    }

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