Hi everybody, The detach() code for LoadableDetachableModel is this:
public void detach()
{
if (attached)
{
attached = false;
transientModelObject = null;
onDetach();
}
}
I have to invoke a model's method which releases resources, but it has
been set to null.
How could I do this?
I have to keep an extra reference to my object. Is not this better?:
onDetach(transientModelObject);
attached = false;
transientModelObject = null;
Just a thought.
Thanks!
Greetings,
--
Mauro Ciancio
