I have an adapter class which has a onbindviewholder method which gets items from list items and set text values by position.
@Override
public void onBindViewHolder(TaskViewHolder holder, int position) {
Task product = productList.get(position);
holder.textViewTitle.setText(product.getName());
holder.textViewShortDesc.setText(product.getTasks());
holder.textViewRating.setText(String.valueOf(product.getTaskdetails()));
holder.textViewPrice.setText(String.valueOf(product.getCurrentdate()));
holder.textviewlocation.setText(String.valueOf(product.getTasklocation()));
}
I need to know how do I pass these setText string values using intent into to another activity? How do I extract the setText values to another string variable?