RotationAsync with each row in List view

Posted by Labeeb P on Stack Overflow See other posts from Stack Overflow or by Labeeb P
Published on 2011-01-03T10:37:10Z Indexed on 2011/01/07 9:53 UTC
Read the original article Hit count: 226

Filed under:
|
|

Hi,
From this answer in stack overflow and the sample project referred there, i got the Idea of RotationAsync, where a progress bar work fine with device rotation.

But my problem is, i have a listview with each row there is progress bar. And is there any way to retain the progress while rotation for reach row.

Me creating onclicklistener object for the button click listener in getview function of my adapter class. Where its onClick function call the AsyncTask class

Since each getview (row) is calling different instant of my AsyncTask, i cannot make it static of single ton class.
Any Idea on this.
Thanks.

© Stack Overflow or respective owner

Related posts about android

Related posts about rotation