BundleButler: Simplifying arguments and savedInstanceState

To make proper use of both Fragment arguments and saved instance state in Android, I found myself frequently writing a great deal of the same boilerplate code. Most of that code looked like this: public class EditEntryFragment extends Fragment { private Entry entry; private String title; private boolean hasAgreedToTerms = false; public static EditEntryFragment createInstance(Entry currentEntry, String title) { EditEntryFragment fragment = new EntryEditFragment(); Bundle args = new Bundle(); args.putParcelable("entry", currentEntry); args. [Read More]