Your progressBar
is coming from the itemview
layout, so you need to initialize it using that particular layout.
Try this:
progressBar = (ProgressBar) itemview.findViewById(R.id.progressBar1);
instead of
progressBar = (ProgressBar) findViewById(R.id.progressBar1);