Is it possible to create a single page in Android Studio (using Kotlin) that has different e-text depending on the button you hit on the main screen?
Imagine loading the app to the home screen to find five buttons, each one you click shows you different text. Instead of creating five pages for the five buttons, can I create the one page and do something with the code to show a certain variable based on which button I hit?
If it is, how would I go about this and code it?
Leave an answer