From c365a388a5023367938d095553da7722aed8bc42 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Wed, 23 Sep 2020 20:19:03 -0400 Subject: [PATCH] added controllers for each activity --- .../wyattjmiller/dicerollerapp/CoinActivity.kt | 16 ++++++++++++++++ .../wyattjmiller/dicerollerapp/DiceActivity.kt | 16 ++++++++++++++++ .../wyattjmiller/dicerollerapp/MainActivity.kt | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 app/src/main/java/com/wyattjmiller/dicerollerapp/CoinActivity.kt create mode 100644 app/src/main/java/com/wyattjmiller/dicerollerapp/DiceActivity.kt create mode 100644 app/src/main/java/com/wyattjmiller/dicerollerapp/MainActivity.kt diff --git a/app/src/main/java/com/wyattjmiller/dicerollerapp/CoinActivity.kt b/app/src/main/java/com/wyattjmiller/dicerollerapp/CoinActivity.kt new file mode 100644 index 0000000..346dcb4 --- /dev/null +++ b/app/src/main/java/com/wyattjmiller/dicerollerapp/CoinActivity.kt @@ -0,0 +1,16 @@ +package com.wyattjmiller.dicerollerapp + +import androidx.appcompat.app.AppCompatActivity +import android.os.Bundle + +class CoinActivity : AppCompatActivity() { + + // Private member variables per the layout + + // Private member variable - other + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_coin) + } +} \ No newline at end of file diff --git a/app/src/main/java/com/wyattjmiller/dicerollerapp/DiceActivity.kt b/app/src/main/java/com/wyattjmiller/dicerollerapp/DiceActivity.kt new file mode 100644 index 0000000..2481a42 --- /dev/null +++ b/app/src/main/java/com/wyattjmiller/dicerollerapp/DiceActivity.kt @@ -0,0 +1,16 @@ +package com.wyattjmiller.dicerollerapp + +import androidx.appcompat.app.AppCompatActivity +import android.os.Bundle + +class DiceActivity : AppCompatActivity() { + + // Private member variables per the layout + + // Private member variable - other + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_dice) + } +} \ No newline at end of file diff --git a/app/src/main/java/com/wyattjmiller/dicerollerapp/MainActivity.kt b/app/src/main/java/com/wyattjmiller/dicerollerapp/MainActivity.kt new file mode 100644 index 0000000..4c113f8 --- /dev/null +++ b/app/src/main/java/com/wyattjmiller/dicerollerapp/MainActivity.kt @@ -0,0 +1,16 @@ +package com.wyattjmiller.dicerollerapp + +import androidx.appcompat.app.AppCompatActivity +import android.os.Bundle + +class MainActivity : AppCompatActivity() { + + // Private member variables per the layout + + // Private member variable - other + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_main) + } +} \ No newline at end of file