Subject: Get vCard will affect the UI
I use this code to get vcard
and vardResponse
And then, when I ask a lot of vcard, that made my App become very slow!After pass through vcardResponse, App become normal...
At First, I think maybe handle the vcard make it slow,but I
comment this
The App is still slow.....Why?And how to fix it?
Thanks a lot!
- GlobalData.m_XmppClient.IqFilter.SendIq(viq, vcardResponse)
- private void vcardResponse(object sender, IqEventArgs e)
- {
- if (e.Iq.Type == IqType.result)
- {
- blahblahblah...
- }
- }
At First, I think maybe handle the vcard make it slow,but I
comment this
- if (e.Iq.Type == IqType.result)
- {
- blahblahblah...
- }
Thanks a lot!