@@ -0,0 +1,1063 @@
+package in.co.sdslabs.cognizance;%0A%0Aimport android.os.Bundle;%0Aimport android.support.v4.app.Fragment;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.TextView;%0A%0Apublic class EventCategoryFragment extends Fragment%7B%0A%0A%09public EventCategoryFragment() %7B%09%0A%09%7D%0A%0A%09@Override%0A%09public View onCreateView(LayoutInflater inflater, ViewGroup container,%0A%09%09%09Bundle savedInstanceState) %7B%0A%09%09%0A%09%09// Retrieving the currently selected item number%0A        int position = getArguments().getInt(%22position%22);%0A %0A        // List of rivers%0A        String%5B%5D countries = getResources().getStringArray(R.array.eventCategories);%0A %0A        // Creating view correspoding to the fragment%0A        View v = inflater.inflate(R.layout.eventfragment_layout, container, false);%0A %0A        // Getting reference to the TextView of the Fragment%0A        TextView tv = (TextView) v.findViewById(R.id.tv_content);%0A %0A        // Setting currently selected river name in the TextView%0A        tv.setText(countries%5Bposition%5D);%0A%09%09return v;%0A%09%7D%0A%09%0A%09%0A%09%0A%09%0A%0A%7D%0A

Add fragment class for EventCategory