B4J Question [Java Library] Allowing to change DesignerCustomView's parent

alwaysbusy

Expert
Licensed User
Longtime User
First time B4J CustomView builder, so bare with me. ;)

I'm trying to make a make a custom component (MyComp) in Java that should have very similar behavior like a normal B4J pane. Just like a pane can change its parent to another pane, I would like MyComp to be able to change its parent to another MyComp.

My definition looks like this, but still I cannot change the parent from Main to another MyComp:
B4X:
public class MyComp extends PaneWrapper<Pane> implements DesignerCustomView {
...
}

Probably pretty basic stuff...
 
Top