I know it sounds like a pretty silly question, but I'm starting now in the programming world (focused on mobile).
When I create an app it gets all the functions within the Activities, so I never know when I should take methods and attributes of the class and separate them. ah! this also serves to organize packages and classes
Thank you for your attention.