Hi,
I have a custom view and a method like this:
i think this code pauses view thread.I can't make it work.
I have a custom view and a method like this:
Code:
public method() {
do some stuff...
invalidate(); //This changes some image on view according to some stuff;
Thread.sleep(500); //with try-catch
do some stuff...
invalidate();
}
i think this code pauses view thread.I can't make it work.