private void UpdateList(LIST_INFO listInfo) { foreach (var cell in list) { cell.Value.node.SetActive(false); } int i = 0; foreach (var data in listInfo.list) { var cell = Get(i); cell.node.SetActive(true); listInfo.action?.Invoke(cell.presenter, data); ++i; } }
static extern bool vbmp3_getListInfo(ref LIST_INFO pListInfo);
static extern bool vbmp3_getFileInfo2(string pszName, ref TAG_INFO pTagInfo, ref MPEG_INFO pMpegTagInfo, ref LIST_INFO pListInfo);
static extern bool vbmp3_setListInfo(string pszName, ref LIST_INFO pListInfo);