示例#1
0
        public void ValidFresh(int friendcnt, string message)
        {
            JsonHelp jsonHelp = new JsonHelp();

            string[] refresharray = jsonHelp.getRefreshnickarray(message);
            App.Current.Dispatcher.InvokeAsync(() =>
            {
                Fcnt = friendcnt;
                Friendlist.Clear();
                //여기서 각자 데이터를 받아만 올수 있다면, 그냥 add해주면 됨
                for (int i = 0; i < refresharray.Length; i++)
                {
                    Friendlist.Add(new Frienddata(refresharray[i]));
                }
            });
        }