listselectionview is a custom view a part of the controlsfx library ..
Sub InitializeTheTwins
timer("start twins")
pnlTwin1.LoadLayout("LO_twin")
btnok.Enabled=True
btncancel.Enabled=True
timer("end twins")
End Sub
this sub takes 42000+ ms to execute on some devices (hanging the whole UI untill it ends) , and 200+ ms on other devices .
p.s : if i do pnlTwin1.removeallnodes , and then re execute the same sub it will take 27+ ms , even if on the slow devices ..
is there a way to fix this ? or at least let it load in the background without hanging the UI ?