synchronized:
I'd suggest your starting reading about Java Synchronization.
'synchronized' blocks prevent multiple threads from executing the same
block of code at the same time. They are used to synchronize access to
methods and instance-variables and avoid race-conditions. Careless use
of
On Thu, Apr 2, 2009 at 10:13 AM, Odessa Silverberg
silverberg.ode...@googlemail.com wrote:
synchronized:
I'd suggest your starting reading about Java Synchronization.
'synchronized' blocks prevent multiple threads from executing the same
block of code at the same time. They are used to
Perhaps he was thinking of C#'s lock keyword ;)
On Thu, Apr 2, 2009 at 8:17 PM, Marco Nelissen marc...@android.com wrote:
On Thu, Apr 2, 2009 at 10:13 AM, Odessa Silverberg
silverberg.ode...@googlemail.com wrote:
synchronized:
I'd suggest your starting reading about Java Synchronization.
@Override is a so-called annotation.
It does not generate any byte-code/runnable-code.
It just tells the compiler that the method below it is an override of
its super-class' method.
If your super-class changes its signature of onDraw, your compiler
will warn you about the fact that your method
4 matches
Mail list logo