daltonfercs / android-basics-kotlin-dice-roller-with-images-app-solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:Other


Languages

Language:Kotlin 100.0%