Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 752 Bytes

File metadata and controls

24 lines (17 loc) · 752 Bytes

Add more conditional behavior in Kotlin - Solution Code

Solution code for the Android Basics in Kotlin: Add more conditional behavior in Kotlin codelab.

Introduction

In this codelab, you add images to the Dice Roller app, which enhance the user experience.

Pre-requisites

You need to know:

  • Completed the Create a Dice Roller Android App with Button codelab.
  • Able to write control flow statements (if / else, when statements).
  • Able to update the UI of the app based on user input (modifying the MainActivity.kt file).
  • Able to add a click listener to a Button.
  • Able to add image resources to an Android app.

Getting Started

  1. Download and run the app.