package com.cs1635.classme;

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


/**
 * Created by BuckYoung on 3/29/14.
 */
public class tab_discuss extends Fragment {
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {

        View rootView = inflater.inflate(R.layout.tab_discuss, container, false);

        return rootView;
    }
}
@@ -41,28 +41,19 @@
 oid.
-support.v4.app.Fragm
+content.Int
 ent;
@@ -79,16 +79,56 @@
 Bundle;%0A
+import android.support.v4.app.Fragment;%0A
 import a
@@ -212,16 +212,46 @@
 wGroup;%0A
+import android.widget.Button;%0A
 %0A%0A/**%0A *
@@ -480,16 +480,16 @@
 ate) %7B%0A%0A
-
         
@@ -563,16 +563,416 @@
 alse);%0A%0A
+        (rootView.findViewById(R.id.tab_discuss_new)).setOnClickListener(%0A                new View.OnClickListener() %7B%0A                    @Override%0A                    public void onClick(View view) %7B%0A                        Intent intent = new Intent(getActivity(), CreateDiscussionActivity.class);%0A                        startActivity(intent);%0A                    %7D%0A                %7D%0A        );%0A%0A
         

Create listener for discuss