Message msg = Message.obtain();
msg.obj = "first string value";
msg.setTarget(mClientMessenger);
msg.sendToTarget();
I would like msg.obj to hold two key/value pairs if possible.
Ex:
key1, “first string value”
key2, “second string value”
Then I would like to know how to receive them if possible.
New contributor
slowcoder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.