I am relatively new to the Android world, but I have a quick question.
I have a list on one page with a potentially unlimited number of rows to be populated by the database. They will move on to various activities based on their type (e.g. clients, etc.). Is it possible to send a user to a specific activity on the basis of which they click?
I have seen some switch / case based solutions, but this seems to be used if you have a list of finite elements and you know the names of these elements in advance.
So, I say, if I use the switch / case solution, how does the application know which buttons go in this case? Does this need to be defined in the list itself or in the database?
I cannot provide any code at the moment, because it is not so far developed, and I am also under the NDA about the project!
source share