The code design guidelines (mostly just for Java ) that I read, somehow miss the questions I am interested in:
Do I understand correctly that a long code in the activation class is not welcome and should be broken down into separate classes according to the task being performed?
Then, by what principle should the code be divided into classes: according to the principle of performing one small task (for example, checking for new information on the server) or a complex of similar tasks, one class is allocated (for example, besides checking this information, also borrowing from it)?
Where should the files of separate classes be located, in the same place as the activation classes or in their own directory?
I read the recommendation, where it was said that nested classes are unacceptable, except for the cases when the nested class is used only by the parent class. But in the android just such a situation. Only the activation class will use those classes that I write for it (nested or separate).
Does not the code readability make it more difficult to break the whole code into classes?