void OnClickExercise(InputUIOnClickEvent e)
    {
        Dictionary <string, object> data = new Dictionary <string, object>();

        data.Add("GameType", "FavoritesList");
        data.Add("FavoritesListCount", FavoritesService.GetFavoritesList().Count);
        SDKManager.Log("StartGame", data);

        UIManager.CloseUIWindow(this);

        GameLogic.s_GameModel = GameModel.normal;
        PoemLibrary.SetPoemByFavorite(FavoritesService.GetFavoritesList());
        ApplicationStatusManager.EnterStatus <GameStatus>();
    }
    public override void OnOpen()
    {
        List <string> list = FavoritesService.GetFavoritesList();

        if (list.Count > 0)
        {
            GetGameObject("Button_exercise").SetActive(true);
        }
        else
        {
            GetGameObject("Button_exercise").SetActive(false);
        }

        AddOnClickListener("Button_return", OnClickReturn);
        AddOnClickListener("Button_exercise", OnClickExercise);
        SetData();
    }
    void SetData()
    {
        List <string> list = FavoritesService.GetFavoritesList();

        List <Dictionary <string, object> > data = new List <Dictionary <string, object> >();

        for (int i = 0; i < list.Count; i++)
        {
            Dictionary <string, object> item     = new Dictionary <string, object>();
            poemDataGenerate            poemData = DataGenerateManager <poemDataGenerate> .GetData(list[i]);

            item.Add("poemData", poemData);

            data.Add(item);
        }

        GetReusingScrollRect("scrollRect").SetData(data);
    }