title: Android Gallery View and adapter getView gets called many time
body: <p>I have a Gallery, which has an adapter connects to it.  In the getView method, i have a custom layout, so that I can i have image and caption displayed together</p>
  
  <p>The image is downloaded from an URL, which is done asynchously, and working as expected.</p>
  
  <p>Currently i make each item to fill the screen, so i only have one item display at a time, basically i want to make it like a slide show.</p>
  
  <p>let me be clear, currently i have an activity, and it only has one View, which is a Gallery.</p>
  
  <p>problem occurs when  I am swiping, the image bounces and stays at the same image.  i need to swipe many times, hard, and long swipe, then i can get to next image.</p>
  
  <p>i put a debug message in my custom adapter in the getView(), it seems getView is getting called many times (4 times),  and position being passed is either the current position or the previous one, which explains why i am stuck at the same screen.</p>
  
  <p>if i remove the remote downloading image part, or just use a static image form the phone, i don't have any more issues, in fact, the getView only gets called once, with correct position.</p>
  
  <p>i am very frustrated, not sure what the problem is, could it be because i am downloading image asynchously, which will cause the image to update which causes getView to get called again to redraw itself?
  i am not sure..</p>
  
  <p>please help </p>