From 0986a6cd9fa049da137c9f964ca7a05cd7bab4f3 Mon Sep 17 00:00:00 2001 From: zoothezoo Date: Sun, 8 Aug 2021 17:17:22 +0900 Subject: [PATCH] feat: this class will be like jetNews --- .../debug/java/com/techcafe/todone/ZooMainActivity.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/src/debug/java/com/techcafe/todone/ZooMainActivity.kt b/app/src/debug/java/com/techcafe/todone/ZooMainActivity.kt index dbde8a8b..52627c2e 100644 --- a/app/src/debug/java/com/techcafe/todone/ZooMainActivity.kt +++ b/app/src/debug/java/com/techcafe/todone/ZooMainActivity.kt @@ -6,9 +6,6 @@ import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.material.MaterialTheme -import androidx.compose.material.Surface -import androidx.compose.material.Text -import androidx.compose.runtime.Composable class ZooMainActivity : ComponentActivity() { @@ -22,16 +19,8 @@ class ZooMainActivity : ComponentActivity() { super.onCreate(savedInstanceState) setContent { MaterialTheme { - // A surface container using the 'background' color from the theme - Surface(color = MaterialTheme.colors.background) { - Greeting("Android") - } } } } } -@Composable -fun Greeting(name: String) { - Text(text = "Hello $name!") -}