modified MainAcvitivy.java. in fragment_main we added dummy data in an arraylist, initialised an arrayadapter, found the listview by id, and bound the adapter to the listview to display the data.