how to listen to user-defined event? (or what's the mechanism to communicate between objects)
<p>I'm new to android (and java) and I am wondering what's the mechanism to communicate between objects? Like if I want to monitor a private member's value, if it changes, I want a method to be triggered. </p>

<p>I know for UI event there's event listener. But what if it's not a mouse click, but a private member's value changing? I tried intent/broadcastreceiver, but i don't think that's for what I want to do..</p>

<p>Thank you so much!!</p>
