title: ArrayAdapter in Fragment
body: <p>I'm beginner in Android Development!
  I'm trying insert into Fragment parsing data
  Trying to fix error but I have an error "
  output cannot be resolved to a variable"</p>
  
  <pre><code>  @Override
  public View onCreateView(final LayoutInflater inflater, final ViewGroup container, final Bundle savedInstanceState) {
      ProgressDialog mProgressDialog = new ProgressDialog(getActivity());
      mProgressDialog.setCancelable(false);
      mProgressDialog.setCanceledOnTouchOutside(false);
      mProgressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
      mProgressDialog.setMessage("Загрузка данных");
      mProgressDialog.show();
      new ParseSite().execute("http://www.babyblog.ru/magazine/");
      View view = inflater.inflate(R.layout.magazine, container, false);  
      ListView listview = (ListView) view.findViewById(R.id.listViewData);
      listview.setAdapter(new ArrayAdapter&lt;String&gt;(getActivity().getApplicationContext(),
              android.R.layout.simple_list_item_1 , output));
      return view;
  }
  private class ParseSite extends AsyncTask&lt;String, Void, List&lt;String&gt;&gt; {
      protected List&lt;String&gt; doInBackground(String... arg) {
        List&lt;String&gt; output = new ArrayList&lt;String&gt;();
        try
        {
         HtmlHelper hh = new HtmlHelper(new URL(arg[0]));
          List&lt;TagNode&gt; links = hh.getLinksByClass("razdel-name");
  
          for (Iterator&lt;TagNode&gt; iterator = links.iterator(); iterator.hasNext();)
          {
            TagNode divElement = (TagNode) iterator.next();
            output.add(divElement.getText().toString());
          }
        }
        catch(Exception e)
        {
          e.printStackTrace();
        }
        return output;
      }
  }
  </code></pre>
  
  <p>}</p>