Compare commits

...

4 Commits

Author SHA1 Message Date
RASYID DARUSMAN
6916c44b07 UAS 2025-01-13 23:39:21 +07:00
RASYID DARUSMAN
16adecf9e7 UAS 2025-01-13 23:37:51 +07:00
RASYID DARUSMAN
f484edb045 UAS 2025-01-13 22:50:19 +07:00
RASYID DARUSMAN
dd48025363 UAS 2025-01-13 22:49:44 +07:00
9 changed files with 15 additions and 7 deletions

View File

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

1
.idea/gradle.xml generated
View File

@ -4,6 +4,7 @@
<component name="GradleSettings"> <component name="GradleSettings">
<option name="linkedExternalProjectsSettings"> <option name="linkedExternalProjectsSettings">
<GradleProjectSettings> <GradleProjectSettings>
<option name="testRunner" value="CHOOSE_PER_TEST" />
<option name="externalProjectPath" value="$PROJECT_DIR$" /> <option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
<option name="modules"> <option name="modules">

View File

@ -37,6 +37,10 @@
<option name="composableFile" value="true" /> <option name="composableFile" value="true" />
<option name="previewFile" value="true" /> <option name="previewFile" value="true" />
</inspection_tool> </inspection_tool>
<inspection_tool class="PreviewDeviceShouldUseNewSpec" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="composableFile" value="true" />
<option name="previewFile" value="true" />
</inspection_tool>
<inspection_tool class="PreviewFontScaleMustBeGreaterThanZero" enabled="true" level="ERROR" enabled_by_default="true"> <inspection_tool class="PreviewFontScaleMustBeGreaterThanZero" enabled="true" level="ERROR" enabled_by_default="true">
<option name="composableFile" value="true" /> <option name="composableFile" value="true" />
<option name="previewFile" value="true" /> <option name="previewFile" value="true" />

1
.idea/misc.xml generated
View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="EntryPointsManager"> <component name="EntryPointsManager">
<list size="1"> <list size="1">

View File

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

View File

@ -106,7 +106,7 @@ fun KHSItem(mahasiswaName: String) {
val context = LocalContext.current val context = LocalContext.current
val mahasiswaActivityMap = mapOf( val mahasiswaActivityMap = mapOf(
"000000000000 EXAMPLE" to Mhs000000000000::class.java, "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, //"202210715185 AHMAD DIMAS RAMADHAN" to Mhs202210715185::class.java,
// silahkan ditambahkan di sini untuk NPM yang lain // silahkan ditambahkan di sini untuk NPM yang lain
) )

View File

@ -34,6 +34,8 @@ import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp import androidx.compose.ui.unit.sp
import com.example.siamobile.ui.theme.SIAMobileTheme import com.example.siamobile.ui.theme.SIAMobileTheme
import com.example.siamobile.DetailMahasiswaScreen
class Mhs000000000000 : ComponentActivity() { class Mhs000000000000 : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {

View File

@ -34,11 +34,12 @@ import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp import androidx.compose.ui.unit.sp
import com.example.siamobile.ui.theme.SIAMobileTheme import com.example.siamobile.ui.theme.SIAMobileTheme
import com.example.siamobile.DetailMahasiswaScreen
class Mhs202210715136 : ComponentActivity() { class Mhs202210715145 : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
val mahasiswaName = intent.getStringExtra("mahasiswaName") ?: "NPM: 202210715136 Nama: Muhamad Rajwa Athoriq" val mahasiswaName = intent.getStringExtra("mahasiswaName") ?: "NPM: 202210715145 Nama: Rasyid Darusman"
setContent { setContent {
SIAMobileTheme { SIAMobileTheme {
DetailMahasiswaScreen(mahasiswaName) DetailMahasiswaScreen(mahasiswaName)
@ -48,7 +49,7 @@ class Mhs202210715136 : ComponentActivity() {
} }
@Composable @Composable
fun DetailMahasiswaScreenOld(mahasiswaName: String) { fun DetailMahasiswaScreen2(mahasiswaName: String) {
val context = LocalContext.current val context = LocalContext.current
val matakuliahList = listOf( val matakuliahList = listOf(
Triple(1, "Aljabar Linear", 1), Triple(1, "Aljabar Linear", 1),

View File

@ -1,5 +1,5 @@
[versions] [versions]
agp = "8.6.0" agp = "8.7.3"
kotlin = "2.0.0" kotlin = "2.0.0"
coreKtx = "1.15.0" coreKtx = "1.15.0"
junit = "4.13.2" junit = "4.13.2"