@@ -0,0 +1,1416 @@
+package com.powerblock.timesheets.fragments;%0A%0Aimport com.powerblock.timesheets.ExcelHandler;%0Aimport com.powerblock.timesheets.MainActivity;%0Aimport com.powerblock.timesheets.R;%0A%0Aimport android.os.Bundle;%0Aimport android.support.v4.app.Fragment;%0Aimport android.view.LayoutInflater;%0Aimport android.view.Menu;%0Aimport android.view.MenuInflater;%0Aimport android.view.MenuItem;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0A%0Apublic class MaterialsContainment extends Fragment %7B%0A%09private ExcelHandler mExcelHandler;%0A%09private View mView;%0A%0A%09public MaterialsContainment()%7B%0A%09%09mExcelHandler = MainActivity.getExcelHandler();%0A%09%7D%0A%0A%09@Override%0A%09public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)%7B%0A%09%09setHasOptionsMenu(true);%0A%09%09mView = mExcelHandler.read(inflater, container, R.layout.materials_containment, ExcelHandler.EXCEL_SECTION_MATERIALS_CONTAINMENT);%0A%09%09if(mView == null)%0A%09%09%09mView = inflater.inflate(R.layout.materials_containment, container,false);%0A%09%09return mView;%0A%09%7D%0A%0A%09@Override%0A%09public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)%7B%0A%09%09inflater.inflate(R.menu.save_menu, menu);%0A%09%09super.onCreateOptionsMenu(menu, inflater);%0A%09%7D%0A%0A%09@Override%0A%09public boolean onOptionsItemSelected(MenuItem item)%7B%0A%09%09if(item.getItemId() == R.id.action_save)%7B%0A%09%09%09mExcelHandler.write(ExcelHandler.EXCEL_SECTION_MATERIALS_CONTAINMENT,mView);%0A%09%09%09return true;%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%7D%0A

Create MaterialsContainment.java