package com.biekerwebdesign.openexoplanetcatalogue;

import android.app.Fragment;

/**
 * Created by Bieker on 12/6/13.
 */
public class StarFragment extends Fragment {
}

@@ -77,16 +77,623 @@
 agment;%0D
+%0Aimport android.app.ListFragment;%0D%0Aimport android.os.Bundle;%0D%0Aimport android.util.Log;%0D%0Aimport android.view.LayoutInflater;%0D%0Aimport android.view.View;%0D%0Aimport android.view.ViewGroup;%0D%0Aimport android.widget.ArrayAdapter;%0D%0Aimport android.widget.ListAdapter;%0D%0Aimport android.widget.ListView;%0D%0A%0D%0Aimport com.biekerwebdesign.beans.*;%0D%0Aimport com.biekerwebdesign.beans.System;%0D%0Aimport com.biekerwebdesign.xml.XMLPullParserStar;%0D%0Aimport com.biekerwebdesign.xml.XMLPullParserSystem;%0D%0A%0D%0Aimport org.xmlpull.v1.XmlPullParserException;%0D%0A%0D%0Aimport java.io.IOException;%0D%0Aimport java.util.ArrayList;%0D%0Aimport java.util.List;%0D
 %0A%0D%0A/**%0D%0A
@@ -765,16 +765,20 @@
 extends 
+List
 Fragment
@@ -780,12 +780,1763 @@
 gment %7B%0D
+%0A%0D%0A    private ListView listView;%0D%0A    private XMLPullParserStar parser;%0D%0A    private List%3CStar%3E stars;%0D%0A    private ArrayAdapter%3CStar%3E adapter;%0D%0A%0D%0A    @Override%0D%0A    public void onCreate(Bundle savedInstanceState) %7B%0D%0A        super.onCreate(savedInstanceState);%0D%0A        //setContentView(R.layout.main);%0D%0A%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) %7B%0D%0A        View view = inflater.inflate(R.layout.star_list_fragment, container, false);%0D%0A        Log.i(%22Fragment%22, %22OnCreateView(): View Created%22);%0D%0A        return view;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public void onActivityCreated(Bundle savedInstanceState) %7B%0D%0A        super.onActivityCreated(savedInstanceState);%0D%0A%0D%0A        listView = (ListView) getView().findViewById(android.R.id.list); //Should be the list in star_list_fragment%0D%0A        stars = new ArrayList%3CStar%3E();%0D%0A%0D%0A        List%3CStar%3E stars = null;%0D%0A        try %7B%0D%0A            XMLPullParserStar parser = new XMLPullParserStar();%0D%0A            stars = parser.parse(getActivity().getAssets().open(%2211 Com.xml%22));%0D%0A            Log.i(%22Parser:%22, %22Assets Opened%22);%0D%0A            ArrayAdapter%3CStar%3E adapter =%0D%0A                    new ArrayAdapter%3CStar%3E(this.getActivity(), R.layout.list_item, stars);%0D%0A            listView.setAdapter(adapter);%0D%0A            Log.i(%22Adapter:%22, %22ArrayAdapter Set%22);%0D%0A        %7D catch (IOException e) %7B%0D%0A            e.printStackTrace();%0D%0A        %7D catch (XmlPullParserException x) %7B%0D%0A            x.printStackTrace();%0D%0A        %7D%0D%0A    %7D%0D%0A%0D%0A    public void onListItemClicked(ListView l, View v, int position, long id) %7B%0D%0A        //TODO Call to create Planet Fragment when Item clicked%0D%0A        super.onListItemClick(l, v, position, id);%0D%0A    %7D%0D
 %0A%7D%0D%0A

Change to ListFragment and start work on AsyncTask for XML parsing