private void Awake() { base.Awake(); _instance = this; if (wrap != null) { wrap.onInitializeItem = OnInitializeFriendButton; } lstDatas = new List <FriendData>(); //wrap dummy data setting for (int i = 0; i < 1000; i++) { int rand = Random.Range(0, 100000); FriendData data = new FriendData(); data.SetData(string.Format("id {0}", i), string.Format("name {0}", i), rand, "f1"); lstDatas.Add(data); } }