package com.leotoneo.liteweather.liteweather;


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

/**
 * A simple {@link Fragment} subclass.
 */
public class ChooseAreaFragment extends Fragment {


    public ChooseAreaFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        TextView textView = new TextView(getActivity());
        textView.setText(R.string.hello_blank_fragment);
        return textView;
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
    }
}

@@ -41,16 +41,51 @@
 ther;%0A%0A%0A
+import android.app.ProgressDialog;%0A
 import a
@@ -305,118 +305,930 @@
 get.
-TextView;%0A%0A/**%0A * A simple %7B@link Fragment%7D subclass.%0A */%0Apublic class ChooseAreaFragment extends Fragment %7B%0A%0A
+ArrayAdapter;%0Aimport android.widget.Button;%0Aimport android.widget.ListView;%0Aimport android.widget.TextView;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport db.City;%0Aimport db.County;%0Aimport db.Province;%0A%0A/**%0A * A simple %7B@link Fragment%7D subclass.%0A */%0Apublic class ChooseAreaFragment extends Fragment %7B%0A%0A    public static final int LEVEL_PROVINCE = 0;%0A    public static final int LEVEL_CITY = 1;%0A    public static final int LEVEL_COUNTY = 2;%0A    private ProgressDialog  progressDialog;%0A    private TextView textView;%0A    private Button button;%0A    private ListView listView;%0A    private ArrayAdapter%3CString%3E adapter;%0A    private List%3CString%3E dataList = new ArrayList%3C%3E();%0A    private List%3CProvince%3E provinceList;%0A    private List%3CCity%3E cityList;%0A    private List%3CCounty%3E countyList;%0A    private Province selectProvince;%0A    private City selectCity;%0A    private County selectCounty;%0A    private int currentLevel;
 %0A   

add the member