This repository was archived by the owner on Feb 19, 2023. It is now read-only.
Replies: 1 comment 1 reply
-
|
Yeah, you are right, it really takes some time to find all the methods in a class you need. If we separate everything into three packages we might end up with three imports again. The second suggestion is much better since it's just one import for one class. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am now noticing that the MainActivity, and PlayerFragment classes are getting bigger and messier now that I've added more inner classes (the adapters and view holders for the ViewPager). I think it's about time we organize things a little bit more. So I propose the following:
all player stuff will be in the player package.
I think the second way is better because keeps all parts of the app that work together in the same package. Though of course PlayerFragment is technically hosted by MainActivity.
Beta Was this translation helpful? Give feedback.
All reactions