please help me show the execution dialog in a list item.
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 == null) { view = inflater.inflate(R.layout.imagesubcat, null); } else { view = convertView; } TextView imagesubcat = (TextView) view.findViewById(R.id.imagesubcattv);
So this is an adapter showing a list item.
source share