I have Next Button in one activity. This button will be used to move to the next activity i.e. second activity. The same button will also be used to send some calculated data from one activity to the last activity. There are around 15 activities. So, it will be displayed on 15th activity.
My activities are destroying previous data so I want to send all the activities data to last activity. At the same time, keep moving to the next activity through the same button.
I know to use Intent for moving to the next activity. I can pass the data also to the next activity. But, I only know to start the intent of one activity. Can I add another intent in the same activity of the same button?