U
U
UngVas2015-12-27 17:51:26
Android
UngVas, 2015-12-27 17:51:26

How to structure packages and classes in an Android application?

Good,
Layer vs Feature?
Most Android apps stick to the "by layers" structure, however smart people advise "by Feature". In the current project, I stick to 2 options and I like almost everything except reused components (eg: Fragment which should be used in several different modules).
I read somewhere that if you structure "by feature" then "reusable components" suffer (in Android development).
What do you recommend, can you share the structure?
Thanks ))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question