I’m doing an example that stores a long variable in a cmp field.
I’m storing it on a method that receives an Invite, by doing setTime(long aux). In this same method if I access this value (getTime) it gives me the correct one.
But if I access that field in another method, for example when I receive a bye event, it gives me zero.
How do I get the initial value? Because, it’s creating another instance of the sbb to treat the new event and I don’t have relation between the first value stored.