I'm writing a code inside a class and I need to run this line
but I get a strange error from B4a something about needing layout for activity wrapper
when this line (the first one in comment) running inside Main no problems)
thanks
B4X:
Dim nd As ClsExplorer
'nd.Initialize(Activity, File.DirRootExternal,"",True,True,"Ok")
nd.Initialize(Main, File.DirRootExternal,"",True,True,"Ok")
but I get a strange error from B4a something about needing layout for activity wrapper
when this line (the first one in comment) running inside Main no problems)
thanks