simple example of strangeness

瀏覽次數:6 次
跳到第一則未讀訊息

Johnny TwoShoes

未讀,
2016年4月6日 清晨6:34:392016/4/6
收件者: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

未讀,
2016年4月6日 清晨7:15:162016/4/6
收件者: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.
回覆所有人
回覆作者
轉寄
0 則新訊息