Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gradle/config.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Tue Nov 26 00:44:34 KST 2024
java.home=C\:\\Program Files\\Android\\Android Studio1\\jbr
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

225 changes: 225 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

android {
namespace = "com.example.assignment02"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "com.example.assignment02"
Expand Down Expand Up @@ -36,11 +36,15 @@ android {
}

dependencies {
implementation("androidx.activity:activity-ktx:1.7.0")
implementation("androidx.core:core-ktx:1.13.1")
implementation("com.google.code.gson:gson:2.8.8")
implementation("androidx.viewpager2:viewpager2:1.0.0")
implementation("androidx.fragment:fragment-ktx:1.3.5")
implementation("com.google.android.material:material:1.10.0")
implementation("androidx.core:core-ktx:1.15.0")
implementation("androidx.appcompat:appcompat:1.7.0")
implementation("com.google.android.material:material:1.12.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.constraintlayout:constraintlayout:2.2.0")
implementation("androidx.recyclerview:recyclerview:1.4.0")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
Expand Down
14 changes: 11 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
Expand All @@ -13,15 +17,19 @@
android:theme="@style/Theme.Assignment02"
tools:targetApi="31">
<activity
android:name=".MainActivity"
android:name=".ui.main.MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".RandomActivity" />

<activity android:name=".ui.addword.AddWordActivity" />
<activity android:name=".data.model.Word" />
<activity android:name=".data.repository.WordDatabase" />
<activity android:name=".ui.main.MainAdapter" />
<activity android:name=".viewmodel.MainViewModel" />
</application>

</manifest>
42 changes: 0 additions & 42 deletions app/src/main/java/com/example/assignment02/MainActivity.kt

This file was deleted.

28 changes: 0 additions & 28 deletions app/src/main/java/com/example/assignment02/RandomActivity.kt

This file was deleted.

6 changes: 6 additions & 0 deletions app/src/main/java/com/example/assignment02/data/model/Word.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.example.assignment02.data.model

data class Word(
val word: String,
val definition: String
)
Loading