I would like to load a layout in a CustomView.
It is possible?
I'm trying this:
but I get this error:
java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String can not be cast to android.widget.TextView
Thank you.
It is possible?
I'm trying this:
B4X:
Public Sub DesignerCreateView (Base As Panel, Lbl As Label, Props As Map)
mBase = Base
mBase.LoadLayout("mylayout")
End Sub
but I get this error:
java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String can not be cast to android.widget.TextView
Thank you.