Java Question cannot find symbol : DesignerCustomView

somed3v3loper

Well-Known Member
Licensed User
Longtime User
Hi
I am trying to create a library for B4J (SLC) that implements DesignerCustomView but at compiling I get this error
B4X:
import anywheresoftware.b4a.keywords.Common.DesignerCustomView;
                                           ^
  symbol:   class DesignerCustomView
  location: class Common
 

DonManfred

Expert
Licensed User
Longtime User

DonManfred

Expert
Licensed User
Longtime User

somed3v3loper

Well-Known Member
Licensed User
Longtime User
I have done many wraps using SLC for B4A and B4J
so the structure is not the problem
it does not need any project my project was compiling ok till I decided to implement DesignerCustomView interface
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
It was my mistake and it is strange no one has noticed
It should be
B4X:
import anywheresoftware.b4j.objects.CustomViewWrapper.DesignerCustomView;
instead of
import anywheresoftware.b4a.keywords.Common.DesignerCustomView;
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…