title: Lazy load a view from xml
body: <p>I am working with a huge xml file(1.3 mb) from server, it takes about 25 seconds to download from server.</p>
  
  <p>I am getting coordinates from the server. I have to draw them on the screen, so is there a way I can <em>lazy load the view</em>?</p>
  
  <p>I am able to download the xml file and store it in the internal memory and parse it using the SAX parser.</p>
  
  <p>Also can I download the xml in chunks and parse them as I go on?</p>
  
  <p>To Elaborate my problem,</p>
  
  <p><strong>1.</strong> I need to download and parse an xml file from the server. The file is roughly 1.3 MB </p>
  
  <p><strong>2.</strong> It takes about 30 seconds to download and 4 seconds to parse.</p>
  
  <p><strong>3.</strong> I am storing it in a local file and parsing it using SAX parser.</p>
  
  <p><strong>4.</strong> In this xml file I am getting the drawing points from which I recreate a drawing on a canvas.</p>
  
  <p>So is there any way I can work on the drawing part as the xml file is being downloaded and parsed on the chunk of downloaded file to minimize the delay and parse smaller segments from the server?</p>