-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb71cb7
commit 2f80f46
Showing
4 changed files
with
4 additions
and
236 deletions.
There are no files selected for viewing
52 changes: 0 additions & 52 deletions
52
androidApp/src/main/java/com/example/kmptemplate/MainActivity.kt
This file was deleted.
Oops, something went wrong.
55 changes: 0 additions & 55 deletions
55
androidApp/src/main/java/com/example/kmptemplate/MyApplicationTheme.kt
This file was deleted.
Oops, something went wrong.
34 changes: 4 additions & 30 deletions
34
androidApp/src/main/java/com/example/kmptemplate/android/MainActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | ||
} |
99 changes: 0 additions & 99 deletions
99
shared/src/commonMain/kotlin/com/example/kmptemplate/LineChartScreen.kt
This file was deleted.
Oops, something went wrong.