I'm working on a very, very simple player select control and it works perfect in B4J. I started working on the B4A version and it doesn't work. It claims that I'm casting my custom control to a TextView, which obviously I'm not.
Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
mBase = Base
Tag = mBase.Tag
mBase.Tag = Me
Sleep(0) '<===Add it
mBase.LoadLayout("LWGPlayerSelectMainView")
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.