Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishonson committed Oct 22, 2024
1 parent cb71cb7 commit 2f80f46
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 236 deletions.
52 changes: 0 additions & 52 deletions androidApp/src/main/java/com/example/kmptemplate/MainActivity.kt

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,52 +1,26 @@
package com.example.kmptemplate.android

import Greeting
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material3.*
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.compose.runtime.*
import com.example.kmptemplate.App
import com.example.kmptemplate.MainView

class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
// MyApplicationTheme {
// Surface(
// modifier = Modifier.fillMaxSize(),
// color = MaterialTheme.colorScheme.background
// ) {
MainView()
}
// }
// }
MainView()
}
}
}



//@Preview
//@Composable
//fun DefaultPreview() {
// MyApplicationTheme {
// GreetingView(listOf("Hello, Android!"))
// }
//}
@Preview
@Composable
fun comp2(){
fun comp2() {
Text("hello")
App()
}

This file was deleted.

0 comments on commit 2f80f46

Please sign in to comment.