forked from administrator/UAS
UAS
This commit is contained in:
parent
f484edb045
commit
16adecf9e7
1
.idea/deploymentTargetSelector.xml
generated
1
.idea/deploymentTargetSelector.xml
generated
@ -4,6 +4,7 @@
|
||||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
<DialogSelection />
|
||||
</SelectionState>
|
||||
</selectionStates>
|
||||
</component>
|
||||
|
@ -106,7 +106,7 @@ fun KHSItem(mahasiswaName: String) {
|
||||
val context = LocalContext.current
|
||||
val mahasiswaActivityMap = mapOf(
|
||||
"000000000000 EXAMPLE" to Mhs000000000000::class.java,
|
||||
"202210715136 MUHAMAD RAJWA ATHORIQ" to Mhs202210715136::class.java
|
||||
"202210715145 RASYID DARUSMAN" to Mhs202210715145::class.java
|
||||
//"202210715185 AHMAD DIMAS RAMADHAN" to Mhs202210715185::class.java,
|
||||
// silahkan ditambahkan di sini untuk NPM yang lain
|
||||
)
|
||||
|
@ -34,6 +34,8 @@ import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.unit.sp
|
||||
import com.example.siamobile.ui.theme.SIAMobileTheme
|
||||
import com.example.siamobile.DetailMahasiswaScreen
|
||||
|
||||
|
||||
class Mhs000000000000 : ComponentActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
|
@ -34,11 +34,12 @@ import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.unit.sp
|
||||
import com.example.siamobile.ui.theme.SIAMobileTheme
|
||||
import com.example.siamobile.DetailMahasiswaScreen
|
||||
|
||||
class Mhs202210715136 : ComponentActivity() {
|
||||
class Mhs202210715145 : ComponentActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
val mahasiswaName = intent.getStringExtra("mahasiswaName") ?: "NPM: 202210715145 Nama : Rasyid Darusman"
|
||||
val mahasiswaName = intent.getStringExtra("mahasiswaName") ?: "NPM: 202210715145 Nama: Rasyid Darusman"
|
||||
setContent {
|
||||
SIAMobileTheme {
|
||||
DetailMahasiswaScreen(mahasiswaName)
|
||||
@ -48,7 +49,7 @@ class Mhs202210715136 : ComponentActivity() {
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun DetailMahasiswaScreenOld(mahasiswaName: String) {
|
||||
fun DetailMahasiswaScreen2(mahasiswaName: String) {
|
||||
val context = LocalContext.current
|
||||
val matakuliahList = listOf(
|
||||
Triple(1, "Aljabar Linear", 1),
|
||||
@ -67,7 +68,6 @@ fun DetailMahasiswaScreenOld(mahasiswaName: String) {
|
||||
Triple(14, "Pendidikan Agama", 2),
|
||||
Triple(15, "Sistem Basis Data", 2),
|
||||
Triple(16, "Analisa Numerik", 3)
|
||||
Triple(17, "Jaringan Komputer 1", 3)
|
||||
)
|
||||
|
||||
Column(
|
||||
|
Loading…
x
Reference in New Issue
Block a user