Reputation: 155
I am new to android development and am currently working my way through the "Hello..." Tutorials on the developer website.
I got stuck on the Tab Layout walkthrough and the only way I could resolve it was to put each Activity Class in a separate .java file.
I was wondering if all Activities need to be in separate .java files, or am I missing something.
Upvotes: 0
Views: 1377
Reputation: 37668
See this question. The answer is no, because Java does not allow it (with the exceptions discussed in the responses to my link).
Upvotes: 1