How to create an activity which has fragment with listview?
use Activity, fragment, a layout which will have list view.
use activity & a ListFragment
Use only Activity with a layout which is having a list view in it.
Use only a ListFragment with out any activity.
activity & a ListFragment
If a fragment is required to display a list view in it, then there is special purpose fragment called as ListFragment to achieve it.
So use activity with ListFragment.
Back To Top