I replace come internal widget on the sceen and I would like to change secondMenu depengin on what witget is loaded.
Widget w = Test.getDefault().getCanvas().getDesktop().getWidget("secondMenu");
doesn't remove or change menu, it only add new items.
would it be deter to set new dataprovider and use one menu?
is it possible to add same dataprovider to several not dependent widgets?
or how to change dataprovider?
I have tryed with setDataProvider(), the data doesn't change.
does any specific method need to be called?