I am relatively new to Android development however I am very familiar with java.
I would like to create an app that displays the periodic table of elements which will have buttons for each element and when a button will be touched, the details of that elements would be shown.
I don't want to create a separate activities for each button. I want to create just one activity and when a button will be touched it's details will be shown. If I go on creating separate activities for each button, I will have to create 100+ activities, which I don't want.
How can I create just one activity and when a element's button is pressed, it's unique details is shown?