package com.beepscore.android.sunshine;

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

import java.text.DateFormat;
import java.util.Calendar;
import java.util.Date;


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

    public MainActivityFragment() {
    }

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

    /*
    private void configureDateViewInView(View fragmentMainView) {
        // Android TextClock would be nice, but requires SDK >= 17. So don't use it.
        // https://developer.android.com/reference/android/widget/TextClock.html

        TextView dateView = (TextView) fragmentMainView.findViewById(R.id.dateView);

        // use user's preselected settings
        DateFormat dateFormat = DateFormat.getDateInstance();

        // Get calendar with default locale and time zone. Don't assume Gregorian
        Calendar calendar = Calendar.getInstance();
        Date now = calendar.getTime();

        String formattedDate = dateFormat.format(now);
        dateView.setText(formattedDate);
    }
    */
}

@@ -193,16 +193,48 @@
 wGroup;%0A
+import android.widget.ListView;%0A
 import a
@@ -258,16 +258,18 @@
 tView;%0A%0A
+//
 import j
@@ -289,16 +289,46 @@
 Format;%0A
+import java.util.ArrayList;%0A//
 import j
@@ -346,16 +346,18 @@
 lendar;%0A
+//
 import j
@@ -371,16 +371,39 @@
 l.Date;%0A
+import java.util.List;%0A
 %0A%0A/**%0A *
@@ -800,18 +800,16 @@
         
-//
 configur
@@ -813,39 +813,13 @@
 gure
-DateViewInView(fragmentMainView
+List(
 );%0A 
@@ -861,15 +861,8 @@
  %7D%0A%0A
-    /*%0A
     
@@ -887,309 +887,120 @@
 gure
-DateViewInView(View fragmentMainView) %7B%0A        // Android TextClock would be nice, but requires SDK %3E= 17. So don't use it.%0A        // https://developer.android.com/reference/android/widget/TextClock.html%0A%0A        TextView dateView = (TextView) fragmentMainView.findViewById(R.id.dateView
+List() %7B%0A        List%3CString%3E list = new ArrayList%3CString%3E;%0A%0A        list.add(%22Today - Sunny - 88/63%22
 );%0A
-%0A
         
 // u
@@ -999,114 +999,54 @@
     
-// use user's preselected settings%0A        DateFormat dateFormat = DateFormat.getDateInstance(
+list.add(%22Tomorrow - Foggy - 70/46%22
 );%0A
-%0A
         
 // G
@@ -1045,182 +1045,94 @@
     
-// Get calendar with default locale and time zone. Don't assume Gregorian%0A        Calendar calendar = Calendar.getInstance();%0A        Date now = calendar.getTime(
+list.add(%22Weds - Cloudy - 72/63%22);%0A        list.add(%22Thurs - Rainy - 64/51%22
 );%0A
-%0A
         
 Stri
@@ -1131,107 +1131,87 @@
     
-String formattedDate = dateFormat.format(now);%0A        dateView.setText(formattedDate);%0A    %7D
+list.add(%22Fri - Foggy - 70/46%22);%0A        list.add(%22Sat - Sunny - 76/68%22);
 %0A    
-*/
+%7D%0A
 %0A%7D%0A

Delete commented out configureDateViewInView. Add configureList.