So in listing 8.5, we over ride the onCreate function to get the savedInstanceState. We then create an instance of the Crime data class. Why are the parenthesis empty? Don’t we need to include arguments to satisfy the constructor in the Crime class???
From Listing 8.1, all of the parameters have a default value. If no arguments are provided to the constructor, then the defaults are used for each property.
so , this would only be true “if” there have been values given to each variable. In many cases there are not, and these are the functions requiring arguments!!!
thank you. I’m a little slow, but it is starting to come together.