gplana
asked on
What does .class mean ?
Hi.
I'm starting to program in Android. When using tabs, I have this line of code:
What does the .class mean? Can I make an array of a set of classes with the .class? For example:
Thank you.
I'm starting to program in Android. When using tabs, I have this line of code:
tabHost.addTab(tabHost.newTabSpec(i + "").setIndicator(names[i]), myClass.class, b);
What does the .class mean? Can I make an array of a set of classes with the .class? For example:
myArray[0] = myClass.class;
myArray[1] = myOtherClass.class;
etc... ?
In this case, which type should be declared this array?Thank you.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great, thank you very much.
ASKER