请帮我在listview项目中显示进度对话框.
public class DealerSubCatListAdapter extends BaseAdapter {
private Context context;
private ArrayList<Image> Image;
private LayoutInflater inflater = null;
public DealerSubCatListAdapter(Context context, ArrayList<Image> Image) {
this.context = context;
this.Image = Image;
inflater = (LayoutInflater) context
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
notifyDataSetChanged();
}
@Override
public int getCount() {
return Image.size();
}
@Override
public Object getItem(int position) {
return position;
}
@Override
public long getItemId(int position) {
return position;
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
View view = null;
if (convertView == …Run Code Online (Sandbox Code Playgroud)