From 72412a87eca1530337ba39006779e35eb9dd7186 Mon Sep 17 00:00:00 2001 From: Eduardo Medina Date: Mon, 9 Dec 2019 20:18:43 -0500 Subject: [PATCH] Update screen 03 --- .../main/java/com/emedinaa/samples/Screen03Activity.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Project2/app/src/main/java/com/emedinaa/samples/Screen03Activity.kt b/Project2/app/src/main/java/com/emedinaa/samples/Screen03Activity.kt index 22506a5..286297c 100644 --- a/Project2/app/src/main/java/com/emedinaa/samples/Screen03Activity.kt +++ b/Project2/app/src/main/java/com/emedinaa/samples/Screen03Activity.kt @@ -2,11 +2,21 @@ package com.emedinaa.samples import androidx.appcompat.app.AppCompatActivity import android.os.Bundle +import kotlinx.android.synthetic.main.activity_screen03.* class Screen03Activity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_screen03) + + + button.setOnClickListener { + back() + } + } + + private fun back(){ + finish() } }