chrisbanes/Android-PullToRefresh — Issue #6: PullToRefreshListView with ArrayAdapter
Author: marvinpinto
Created: 2011-12-14 14:00:59+00:00
State: open

Hi Chris,

I'm trying to use PullToRefreshListView in an existing Fragment (similarly to a regular ListView) and I'm having trouble binding it to an ArrayAdapter.

Usually the process would be something along the lines of:

```
mListView = (ListView) root.findViewById(R.id.list_view_id);
mListView.setAdapter(customArrayAdapter);
```

I know createAdapterView somehow factors in to it but I can't seem to bind it to an ArrayAdapter. Any pointers as to where I'm going wrong?

Thanks for your help!