I have in my php a request that get hospital patients information, in my list Item i have then patients names. I’d like to know, how can get the data that belong to one of the Patient Item clicked, appaering in a new activity ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can add extras to an intent, then inside of the new activity you can pull those extras out.
Inside the first Activity:
Inside the other activity:
You can add more than one extra if you need to and you can always look them up using the same key that you added them with.