Android Question Hide Type from a class

Star-Dust

Expert
Licensed User
Longtime User
I created a custom type within a class. I need to save data.

I do not want this Type to appear after the class is completed. Now I manually delete the type declared by the XML file. So it does not appear to me.

The question is: is there another way to exclude (or not display) the custom type from the compiled class?
 
Last edited:
Maybe just make the Type Private inside the Class
 
Upvote 0
Maybe the IDE could delete the type when it generates the XML file. Maybe with specific code settings.

Otherwise I would have to create an App in Vb6 that would modify XML ... frankly I would like to avoid it
 
Upvote 0
are you trying to access the property from outside the class?

Hiding your code will not help us
I have to hide a Type. No variable declared with that type must be read from the outside.

It is for internal use only
 
Upvote 0
I was simply hoping for a command
Code: Copy
#ExcludeFromXml
Type LucaMs (Genial  as int) 
#ExcludeEnd
 
Upvote 0
I know that the Anywhere software is made up of good, warm-hearted and generous men. I am sure that they will insert a similar thing in B4A 8.0 :D:D:D
 
Upvote 0
Use a class instead of a Type
This is not useful, I must of course exclude that class from the library.

When you exclude it, it does not allow you to use it within the other classes present
 
Upvote 0
Well, it should allow private types, not:

but I think it is not possible.
He was an example.
It could also be:
Code: Copy
#Region ExcludeFromXml
Or
Code: Copy
PrivateForLibrary  Type LucaMs (Romanaccio as Boolean)
 
Upvote 0
Back
Top