package com.seoz.sunshine;

import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


/**
 * A placeholder fragment containing a simple view.
 */
public class MainActivityFragment extends Fragment {

    public MainActivityFragment() {
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_main, container, false);
    }
}

@@ -40,57 +40,57 @@
 oid.
-support.v4.app.Fragment;%0Aimport android.os.Bundle
+os.Bundle;%0Aimport android.support.v4.app.Fragment
 ;%0Aim
@@ -180,16 +180,161 @@
 wGroup;%0A
+import android.widget.ArrayAdapter;%0Aimport android.widget.ListView;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A
 %0A%0A/**%0A *
@@ -441,16 +441,60 @@
 ment %7B%0A%0A
+    ArrayAdapter%3CString%3E mForecastAdapter;%0A%0A
     publ
@@ -675,24 +675,25 @@
 tate) %7B%0A
+%0A
         
 return i
@@ -688,14 +688,23 @@
     
-return
+View rootView =
  inf
@@ -759,16 +759,1085 @@
  false);
+%0A%0A        String%5B%5D data = %7B%0A                %22Mon 6/23 - Sunny - 31/17%22,%0A                %22Tue 6/24 - Foggy - 21/8%22,%0A                %22Wed 6/25 - Cloudy - 22/17%22,%0A                %22Thurs 6/26 - Rainy - 18/11%22,%0A                %22Fri 6/27 - Foggy - 21/10%22,%0A                %22Sat 6/28 - TRAPPED IN WEATHERSTATION - 23/18%22,%0A                %22Sun 6/29 - Sunny - 20/7%22%0A        %7D;%0A        List%3CString%3E weekForecast = new ArrayList%3CString%3E(Arrays.asList(data));%0A%0A        ArrayAdapter%3CString%3E mForecastAdapter =%0A                new ArrayAdapter%3CString%3E(%0A                        getActivity(), // The current context (this activity)%0A                        R.layout.list_item_forecast, // The name of the layout ID.%0A                        R.id.list_item_forecast_textview, // The ID of the textview to populate.%0A                        weekForecast);%0A%0A        // Get a reference to the ListView, and attach this adapter to it.%0A        ListView listView = (ListView) rootView.findViewById(R.id.listview_forecast);%0A        listView.setAdapter(mForecastAdapter);%0A%0A        return rootView;
 %0A    %7D%0A%7D

Add a ListView with dummy data.