Adding dynamically textviews to RecyclerView ViewHolder mess up the views
<p>Im trying to implement dynamically textview, into my view holder, on the first scroll everything goes well, the cards and so are the properties for each, but if if i scroll back up again the textview start to pop where they shouldn't.</p>

<p>my custom adapter:</p>

<pre><code>public class CustomAdapter extends RecyclerView.Adapter&lt;CustomAdapter.ViewHolder&gt; {

public interface OnItemClickListener {
    void onItemClick(MyProduct product);
}

int counter = 0;
private OnItemClickListener listener;
private Context context;
List&lt;MyProduct&gt; myProducts;


public CustomAdapter(OnItemClickListener listener, List&lt;MyProduct&gt; myProducts, Context context)
{
    super();
    this.listener = listener;
    this.myProducts = myProducts;
    this.context = context;
}

@Override
public CustomAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
    View v = LayoutInflater.from(parent.getContext())
            .inflate(R.layout.product_list, parent, false);
    ViewHolder viewHolder = new ViewHolder(v);
    return viewHolder;
}

@Override
public void onBindViewHolder(CustomAdapter.ViewHolder holder, int position) {

    if( myProducts != null) {

        holder.bind(myProducts.get(position), listener);
        counter++;
    }
}

@Override
public int getItemCount() {
    return myProducts.size();
}


public class ViewHolder extends RecyclerView.ViewHolder {
    //Views
    public ImageView imageView;
    public TextView textViewProductTitle;
    public TextView textViewProductDescription;
    public TextView textViewProductSerialNumber;
    public TextView textViewProductPrice;
    List&lt;TextView&gt; textViews;
    ViewGroup viewGroup;


    //Initializing Views
    public ViewHolder(View itemView) {
        super(itemView);


        viewGroup = (ViewGroup)itemView.findViewById(R.id.linearCatalog);
        textViews = new LinkedList&lt;&gt;();
        imageView = (ImageView) itemView.findViewById(R.id.thumbnail);
        textViewProductTitle = (TextView) itemView.findViewById(R.id.textViewProductTitle);
        textViewProductDescription = (TextView) itemView.findViewById(R.id.textViewProductDescription);
        textViewProductSerialNumber = (TextView) itemView.findViewById(R.id.textViewProductSerialNumber);
        textViewProductPrice = (TextView) itemView.findViewById(R.id.textViewProductPrice);

    }

    public void bind(final MyProduct item, final OnItemClickListener listener) {



        Glide.with(context).load(item.getProductImage())
        /*.asBitmap().format(DecodeFormat.PREFER_ARGB_8888).*/
        .crossFade()
        .diskCacheStrategy(DiskCacheStrategy.ALL)
        .into(imageView);
        textViewProductTitle.setText(item.getProductTitle());
        textViewProductDescription.setText(item.getProductDescription());
        textViewProductSerialNumber.setText(item.getProductSn());
        textViewProductPrice.setText(item.getProductPrice());

        if(counter&lt; myProducts.size())
        {
            for (int i = 0; i &lt; item.getBranchCounter(); i++) {
                TextView textView = new TextView(context);
                textView.setText(item.getAddressList().get(i));
                textViews.add(textView);
                viewGroup.addView(textView);
            }
        }

        itemView.setOnClickListener(new View.OnClickListener() {
            @Override public void onClick(View v) {
                listener.onItemClick(item);
            }
        });
    }
}
</code></pre>

<p>any advice would be helpful, ty!</p>