My app goes like this: At the beginning i have the LoginActivity which leads to MainActivity which has 3 fragments. In the first fragment i have a listview with 8 items. Each item of the listview is clickable. I suppose that if i want i can go to another activity by clicking one of the listview's item.
My Question is if i can create only one activity instead of making 8 and when i click any of the listview items, to start this activity with different data every time.
By different data i mean : This activity will have the same layout (expandable listview) but some of the titles etc will be different..