[Solved] ListView : List Item are repeating on scroll


You have not set the tag on the view , do convertview.setTag(holder) …

if(convertView == null)
    {
        convertView = inflater.inflate(R.layout.style_row, null);

        holder = new ViewHolder();
        holder.txtTitle = (TextView) convertView.findViewById(R.id.txtAbout);
        holder.txtContent = (TextView) convertView.findViewById(R.id.txtDetail);
convertView.setTag(holder)

    }

Your code seems fine , problem might be that you are requesting multiple times from your code on the server and ArrayList listy getting filled multiple times in the onResponse method of jsonRequest or your server might be returning multiple entries , seems nothing wrong with the posted code.

2

solved ListView : List Item are repeating on scroll