Chapter 3
Connect Layouts and Widgets to Kotlin Functions
Section 5
Create and Refactor a Function
Create a function that will do work in our program. We'll expand on this function in the following sections. - Create a function to create Plant objects - Create a Service class to contain business logic functions - Move our new function to the new Service class