Example of good project structure for large Android projects

1.2k views Asked by At

Working with a few people on an Android project that is growing to be quite large. We'd like to make sure that the organization is as good as can be. So I was just looking for what guidelines and patterns people are using for structuring their large android projects in regards to packages, classes and accessing methods between classes. The best thing would of course be a github link to a project you think is particularly good!

Our project is an application web centered using webviews with the accompanying native UI elements.

1

There are 1 answers

0
Evan Bashir On

This is going to be a very high level example.

But I usually have packages for fragment types, data, services, dialogs, adapters, controls etc. This makes it much easier to locate files in a huge project.

I use an entirely flexible fragment system that only ever uses one activity, it's much easier to pass data this way.