Dusan,
For your code to work, do two things:
- Take out the Looper stuff from your worker thread. Looper.loop() goes
into a loop that de-queues and processes messages until someone calls
quit(). In your code, it keeps running forever after parsing is
finished, I don't think you intended
I have following code http://pastie.org/1513146, and while setProgress
method works, onParsed doesn't. onParsed has to be called from Handler
message because it accesses progressbar view from different thread.
setProgress is called from different thread as well (thread running
2 matches
Mail list logo