Clean-Android-Code
Clean-Android-Code copied to clipboard
Question
hi guys,i am Chinese student. My english is poor Can you explain to me why you write like this I have never met this kind of writing
Please help me, thank you very much.
Hi there, what do you mean? If you refer to the different folders, it's just a common way to keep the project well organized. Instead, if you refer to the "C" simbol, it's just an automatic icon that Android Studio inserts to remark the fact that that specific file is a Java class.
@Caibiy You open the wrong path. It is auto generated path in project view. Usually it should be ignored from git using .gitignore.
Anyway, to answer your question "Can you explain to me why you write like this?". If i assume that you already open the right path, it is the concept of MVP(Model View Presenter). Each package(folder) is to differentiate between Model, View and Presenter so it will be well organized and easier to modify in the future.