How to know whether Parser_StartElement and _EndElement completed?

gkumar

Active Member
Licensed User
Longtime User
I am using webservice to get the data having large number of elements. I need to set the scroll position for a scroll view after Parser_StartElement and Parse_EndElement event completion.

How can I know whether these recurring parsing methods has been finished so that I can set the scroll position?
 

gkumar

Active Member
Licensed User
Longtime User
I tried to put the scrollposition setting code after Parse line. But it didn't work. I am doing some condition checks and other bitmap loadings in the for around 500 rows for example.

At that time, when the next line after Parse will be executed first before other things get completes. Any other way to achieve this?
 
Upvote 0

gkumar

Active Member
Licensed User
Longtime User
I Tried, its not working. One thing I observed is it works when I debug the code. Is there any way I can set little time delay for the execution of setting of scroll position. some delay equivalent to sleep() method?
 
Upvote 0
Top