From 3695f7e601a984a1ec31ab62b3326ab7317208c8 Mon Sep 17 00:00:00 2001 From: nanoteshivam <142962143+nanoteshivam@users.noreply.github.com> Date: Sun, 13 Oct 2024 21:32:11 +0530 Subject: [PATCH] Update MainActivity.kt --- .../baculsoft/kotlinandroid/views/activities/MainActivity.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/baculsoft/kotlinandroid/views/activities/MainActivity.kt b/app/src/main/kotlin/com/baculsoft/kotlinandroid/views/activities/MainActivity.kt index 4ee1b0b..6d4dd19 100644 --- a/app/src/main/kotlin/com/baculsoft/kotlinandroid/views/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/baculsoft/kotlinandroid/views/activities/MainActivity.kt @@ -16,6 +16,7 @@ class MainActivity : AppCompatActivity() { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) setToolbar() + setToolbar() setButton() } @@ -29,4 +30,4 @@ class MainActivity : AppCompatActivity() { val button = findViewById(R.id.btn_main) as Button button.setOnClickListener { view -> Snackbar.make(view, "Hello Kotlin!", Snackbar.LENGTH_SHORT).show() } } -} \ No newline at end of file +}