Subject: Create A Copy Of Message
How to create a copy of message, instead of copy every property from orignal Message.
Message copyMessage=orignalMessage; //this will create by refrence changes in any object will reflect in another
this is a hard one to create
agsxmpp providing any flexibility to create the copy of object ?
Message copyMessage=orignalMessage; //this will create by refrence changes in any object will reflect in another
this is a hard one to create
- message.id= orignalMessage.id; //i am creating the copy of the object here
agsxmpp providing any flexibility to create the copy of object ?
This post was edited on 2017-07-13, 16:30 by Alex.