public void counts() { List <ChatTest.mainList> temp = new List <ChatTest.mainList>(); ChatTest D = new ChatTest(); temp = D.revChat3(); ItemList4 = new List <Item>(); for (int i = 0; i < temp.Count; i++) { Debug.Log("ok10"); Item tempData = new Item(); tempData.idx = temp[i].idx; tempData.Name = temp[i].mapname; tempData.User = temp[i].username; tempData.user_id = temp[i].userid; tempData.Mapsize = temp[i].size; tempData.count = temp[i].total_count; tempData.rating = temp[i].rating; tempData.Mode = temp[i].mode; tempData.mapscore = temp[i].mapscore; tempData.played = temp[i].flag; tempData.min_ = temp[i].min; tempData.OnItemClick = null; ItemList4.Add(tempData); } // 각 데이터 넣는것 Binding(); }