I apologize in advance for my English, I'm developing my first app and I don't know how to proceed. I have an activity that register a thing, I want to provide the option to modify that registration. I thought about reusing the register activity for doing that, I mean, when you click "modify" it opens the register activity with all its fields filled out and you can modify whatever you want (not with empty fields as a new register activity does), and then make a different query to update the record in the SQLite, etc. I don't know how to capture that I'm calling that activity for doing another thing instead of registration. Is that possible? or should I create a new activity for doing that?
Thank you!!
Yes, you can reuse it for example:
Then use this to get the id for query: