What is the (ViewGroup) container (Listing 7.11)?


In the CrimeFragment class, we implement the onCreateView method:

public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
_ View v = inflater.inflate(R.layout.fragment_crime, container, false);_
_ return v;_

The book tells us that the (ViewGroup) container is the view’s parent. What exactly is the view’s parent here? Is this the FrameLayout in the xml resource file that is used as the container?
And when we create a new CrimeFragment class, how do we know what is passed in as the container/view’s parent?
Thanks in advance.