private void AddTabItems(dynamic stashData, string tabName) { foreach (dynamic jsonItem in stashData.items) { DisplayItem item = new DisplayItem(); item.SetData(jsonItem, tabName, m_League); m_Items.Add(item); } }