updatePuzzleImage

private fun updatePuzzleImage(position: Int)

Updates the puzzle image displayed on the grid when a new image is chosen via the spinner.

Parameters

position

Position of the selected puzzle image in the spinner adapter.

private fun updatePuzzleImage(imagePath: Uri?)

Sets the puzzle image to the photo chosen from the Gallery

Parameters

imagePath

URI to the Gallery photo that will be set as the puzzle image.