Created ListView from rootView and set its adapter.