so i come up with following fault :
When i try to Add new Selections Via RPC :
I get the error :
java.lang.AssertionError: A widget that has an existing parent widget may not be added to the detach list
My Methode is :
Now the strange Part :
When i Call my Methode without RPC it works, but why?
When i try to Add new Selections Via RPC :
Code:
public void onSuccess(ArrayList<ListData>
drawSelection(result);java.lang.AssertionError: A widget that has an existing parent widget may not be added to the detach list
My Methode is :
Code:
for (ListData datasListe : list) {
/**
*
* Stack
*/
SectionStackSection section2 = sectionStack.getSection("blueSection");
SectionStackSection sctnstcksctnTitelSo = new SectionStackSection(
"Täter : " + datasListe.getTaeter());
sctnstcksctnTitelSo.setExpanded(true);
sctnstcksctnTitelSo.setCanCollapse(true);
/**
* inStack
*
*/
WidgetCanvas widgetCanvas = new WidgetCanvas(new TexteComp());
widgetCanvas.setPadding(10);
sctnstcksctnTitelSo.addItem(widgetCanvas);
// widgetCanvas.moveTo(45, ypos);
sectionStack.addSection(sctnstcksctnTitelSo);
ypos = ypos + 165;
}Now the strange Part :
When i Call my Methode without RPC it works, but why?