Java Question DoEvents analog in Java

bloxa69

Active Member
Licensed User
Longtime User
Hi everybody,
I am working on a library wrapper and need to force refresh the views in Java. I successfully used DoEvents in B4A, but in Java, when i use invalidate() or postInvalidate(), it doesn't work right away (while DoEvents in B4A works right when you call it). In Java, the screen only gets refreshed after all images are added to the main layout, and I need to refresh them right after they added, one at a time.
If anybody would let me know what exactly DoEvents does in Java code, I'll be really happy. Please make my day.
Thanks.
 
Top