text/plain
•
636 B
•
18 lines
#pragma once
#include "../ui.h"
#include "lvgl.h"
struct podcast_feed_screen_state {
lv_obj_t* list;
char dir[STORAGE_MAX_PATH];
};
// Setup podcast feed screen
// parent: LVGL screen object
// dir: podcast directory path (e.g. "/Podcasts/My_Podcast")
// focus_item: entry name to focus initially (NULL or empty means first)
ui_state_t setup_podcast_feed_screen(lv_obj_t* parent,
const char* dir,
const char* focus_item);
void free_podcast_feed_screen(podcast_feed_screen_state_t* state);
void update_podcast_feed_screen(podcast_feed_screen_state_t* state);