simple example of strangeness

6 views
Skip to first unread message

Johnny TwoShoes

unread,
Apr 6, 2016, 6:34:39 AM4/6/16
to RoboBinding
Hi Cheng,

I'd like to demonstrate one strange behaviour:
class Man {
string age
string sex
}

in ManVM, I have an instance of man and a list of mans:
private Man man;
private RealmResults<Man> men;

when I traverse the men
if I do:
setMan(men.get(i));
the age,sex displayed doesn't change, yet this works:
setMan(men.get(i));
setMan(getMan()); //works

//getters for sex,age
@DependsOnStateOf("man")
public String getSex(){}
//etc


???

your comments/advise appreciated

kind regards

wei cheng

unread,
Apr 6, 2016, 7:15:16 AM4/6/16
to robob...@googlegroups.com

Hi Johnny,

Cannot you debug to see what the cause of the issue is?

Cheers, Cheng

--
You received this message because you are subscribed to the Google Groups "RoboBinding" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robobinding...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages