1ArrayAdapter adapter = new ArrayAdapter<String>(this,R.layout.ListView,StringArray);
1class YourView(ListView):
2 model = YourModel
3 paginate_by = your_pagination_number
4 context_object_name = 'your_model_in_plural'
5 template_name = 'your_list.html'