17.07.2011 21:23, Simon Platten пишет:
The listener is not invoked when using setChecked, only when the user touches the checkbox. What I want is to invoke the listener when I set the state of the checkbox programmatically.
The listener will be invoked if the new state is different from the old state. If not, it won't be.
For the time being I can call showAllCallback after setChecked
Since you have the anonymous "thunk" invoking the "real" method anyway, why not just keep it that way?
-- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en