While you've linked the new Fragment classes to the CaptureClaimAcitvity, things aren't quite finished yet. The CaptureClaimActivity doesn't actually have a ClaimItem to capture and modify. For this, you'll not only need to hold a reference to a ClaimItem in the CaptureClaimActivity, you'll need to ensure that it is saved and restored through life cycle changes for the Activity as well. Fortunately, your model is all Parcelable, which keeps this easy. It's time to capture a ClaimItem:
- Open the CaptureClaimActivity class.
- First, you'll need a way that a ClaimItem can be passed into the CaptureClaimActivity for editing. To keep this simple and flexible, you'll allow them to be passed as an "extra" field on the ...