Re: [android-developers] Re: Updating toggle button state.

2011-09-02 Thread TreKing
On Thu, Sep 1, 2011 at 11:10 PM, lb lakshman.b...@gmail.com wrote: But I was thinking that if I call mToggleButton.setChecked(true) after setContentView() it might show flickering. Your activity won't get drawn that fast. You will only see the last state of whatever setup you did in

[android-developers] Re: Updating toggle button state.

2011-09-01 Thread lb
I do call findViewById() right after setContentView() and I get the object. But I was thinking that if I call mToggleButton.setChecked(true) after setContentView() it might show flickering. Anyways thought I can give a quick try before getting into deep and I did not notice flickering in emulator