android - listview error when scrolling down -


i have button , progress bar(invisible) in listview. when button clicks should disappear , progress bar should visible , start running (downloading web server) , when done running button should appear again. when click first item's button, progress bar runs if scroll down until first item goes off screen see progress bar running simultaneously first item's progress bar on last item of listview. if scroll first item's progressbar runs normally. happens same if click second item the second last item of listview same. problem , how solve it? please help!!!

you have remember positions downloading, progress (if you're not showing indefinite bar), , update values in adapter's getview. gets complicated though- if want update view again when download finishes, have lot of careful coding how listviews work , way recycle views, or have update whole listview whenever file finishes downloading or updates progress, may result in flicker.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -