I am trying to show ProgressBar with a simple animation for each ListView item, but
when I am scrolling, the ProgressBar animation stops.
I used This Syntax in my Adapter And problem solved !
public class AdapterDownload extends ArrayAdapter {
public AdapterDownload(ArrayList array) {
super(G.context, R.layout.item_layout, array);
}
private static class ViewHolder {
public ViewHolder(View view)
{
}
public void fill(final ArrayAdapter adapter, final StructDownload item, final int position)
{
}
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
}
}
Thank You.