In this section, we will start by creating the PhotoLibrary Activity class that will be used to interact with our PhotoLibraryUI user interface, and handle when each of the buttons has been pressed.
Let's start by creating the PhotoLibraryActivity class for our PhotoLibrary app in the following steps:
- Ensure that the PhotoLibrary solution is currently open in the Visual Studio for Mac IDE.
- Next, right-click on the PhotoLibrary project and choose Add|New File... from the pop-up menu, as shown in the following screenshot:
- Then, choose the Activity ...