Sharing data and customizing dialogs in Android

A while ago, I was asked to take over an Android project that was outsourced by an indie freelancer. Despite me having no previous experience with Android programming, I was quite shocked when I received the source code. It’s probably the most unorganized and unstructured piece of code I have ever seen. The whole structure ...