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?
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?
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?