[android-developers] postDelayed vs. post

2011-08-31 Thread Dmitry Golubovsky
Hi, Q1: Is post(action) equivalent to postDelayed(action, 0)? Q2: If a view implements a never stopping cycle like this, depending on two time parameters, N and T: public void timerEvent() { final class Timer implements Runnable { public void

Re: [android-developers] postDelayed vs. post

2011-08-31 Thread Dianne Hackborn
On Wed, Aug 31, 2011 at 9:16 AM, Dmitry Golubovsky golubov...@gmail.comwrote: Q1: Is post(action) equivalent to postDelayed(action, 0)? Yes. Q2: If a view implements a never stopping cycle like this, depending on two time parameters, N and T: public void timerEvent() {