Creating & deleting widgets dynamically
-
wrote on 14 Feb 2018, 04:47 last edited by
How to create multiple widgets dynamically & delete dynamically, need to update in scroll area widget. Need to happen without UI hang.
. Tried multiple cases, but UI hangs or app crashes.
. Cannot use worker thread for Widget object creation and delete. -
How to create multiple widgets dynamically & delete dynamically, need to update in scroll area widget. Need to happen without UI hang.
. Tried multiple cases, but UI hangs or app crashes.
. Cannot use worker thread for Widget object creation and delete.@yuvaram You should show your code, else nobody can tell what is wrong.
Also you should never create/delete/manipulate UI classes in other threads than GUI thread! This is not supported and will cause problems.
1/2