I\'m trying to create a custom ArrayAdapter
to use for my ListFragment
. Right now nothing is being displayed in the ListFragment
except f
The solution is that getCount()
was returning 0 for my ArrayAdapter. So I just used mAdapter.add(temp)
and then mAdapter.notifyDataSetChanged()
and it worked. I also had to change the line row = inflater.inflate(R.id.pager, parent, false);
to row = inflater.inflate(R.layout.listview_row, parent, false);