Why doesnt CrimeListFragment require onCreateView()?


#1

Is it because the adapter takes care of the view? Or is it the getView() method?

Sorry I am pretty new to everything and I think I am confusing things with each other.


#2

[quote=“allenktv”]Is it because the adapter takes care of the view? Or is it the getView() method?

Sorry I am pretty new to everything and I think I am confusing things with each other.[/quote]

See p. 171, second paragraph:

“You are not going to override onCreateView(…) or inflate a layout for CrimeListFragment. The default implementation of a ListFragment inflates a layout that defines a fullscreen ListView, and you will use this layout for now. In later chapters, you will override CrimeListFragment.onCreateView(…) to add more advanced features.”