Well Create a Model class :
public class Product{
int product_id;
int product_size;
int product_qty;
//provide all the getter setters and constructor
public Product(int product_id,int product_size,int product_qty){
this.product_id = product_id;
this.product_size = product_size;
this.product_qty = product_qty;
}
}
Now use this arraylist inside Recyclerview Adapter :
ArrayList<Product> productList = new ArrayList<Product>
and while clicking on add button just add dummy values in this list like :
productList.add(new Product(0,0,0));
And inside your recyclerview adapter provide the layout of your choice
Because later if you want to set values you can easily do it with position and also while clicking on submit you can just take whole list