@@ -0,0 +1,1028 @@
+package edu.mines.alterego;%0A%0Aimport android.app.Fragment;%0Aimport android.widget.ListView;%0A%0Aclass InventoryFragment extends Fragment %7B%0A    int mGameId;%0A%0A    @Override%0A    public View onCreateView(LayoutInflater inflater, ViewGroup container,%0A                             Bundle savedInstanceState) %7B%0A%0A        mGameId = getArguments().getInt(R.string.gameid, -1);%0A%0A        if (mGameId == -1) %7B%0A            // Yes, this is annoying, but it'll make an error VERY obvious. In testing, I have never seen this toast/error message. But ya never know%0A            Toast.makeText(this, %22GameID not valid%22, 400).show();%0A            Log.e(%22QuidditchScoring:ScoringScreen%22, %22GAME ID IS NOT VALID!!!!!%22);%0A        %7D%0A%0A        // Inflate the layout for this fragment%0A        View inventory_view = inflater.inflate(R.layout.inventory_view, container, false);%0A%0A        CharacterDBHelper dbhelper = new CharacterDBHelper(this);%0A        ArrayList%3CInventoryItem%3E invItems = dbhelper.getInventoryItems(mGameId);%0A%0A        return inventory_view;%0A    %7D%0A%7D%0A

Make an initial InventoryFragment