Compare commits

..

No commits in common. "6916c44b07b90fd63e8d9f712b972bf57703735b" and "f484edb0452424c51a2a68a3f1f7392237713a2d" have entirely different histories.

5 changed files with 6 additions and 9 deletions

View File

@ -4,7 +4,6 @@
<selectionStates>
<SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
</selectionStates>
</component>

View File

@ -13,7 +13,7 @@
android:theme="@style/Theme.SIAMobile"
tools:targetApi="31">
<activity
android:name=".Mhs202210715145"
android:name=".Mhs202210715136"
android:exported="false" />
<activity
android:name=".Mhs000000000000"

View File

@ -106,7 +106,7 @@ fun KHSItem(mahasiswaName: String) {
val context = LocalContext.current
val mahasiswaActivityMap = mapOf(
"000000000000 EXAMPLE" to Mhs000000000000::class.java,
"202210715145 RASYID DARUSMAN" to Mhs202210715145::class.java
"202210715136 MUHAMAD RAJWA ATHORIQ" to Mhs202210715136::class.java
//"202210715185 AHMAD DIMAS RAMADHAN" to Mhs202210715185::class.java,
// silahkan ditambahkan di sini untuk NPM yang lain
)

View File

@ -34,8 +34,6 @@ 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?) {

View File

@ -34,12 +34,11 @@ 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 Mhs202210715145 : ComponentActivity() {
class Mhs202210715136 : 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)
@ -49,7 +48,7 @@ class Mhs202210715145 : ComponentActivity() {
}
@Composable
fun DetailMahasiswaScreen2(mahasiswaName: String) {
fun DetailMahasiswaScreenOld(mahasiswaName: String) {
val context = LocalContext.current
val matakuliahList = listOf(
Triple(1, "Aljabar Linear", 1),
@ -68,6 +67,7 @@ fun DetailMahasiswaScreen2(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(