From 6b3a04bad0365fc2ed57a7e0e05da90673187a8b Mon Sep 17 00:00:00 2001 From: Yeseul Kim Date: Fri, 6 Dec 2024 18:26:19 +0900 Subject: [PATCH] Add news feature --- .idea/compiler.xml | 2 +- .idea/deploymentTargetSelector.xml | 4 +- .idea/gradle.xml | 1 + .idea/misc.xml | 2 +- .idea/other.xml | 329 ------------------ .idea/runConfigurations.xml | 17 + app/build.gradle.kts | 2 +- app/src/main/AndroidManifest.xml | 8 + .../com/example/whatsub/HeadlinesFragment.kt | 73 ++++ .../java/com/example/whatsub/NewsAdapter.kt | 38 ++ .../com/example/whatsub/NewsDetailActivity.kt | 60 ++++ .../main/res/layout/activity_news_detail.xml | 30 ++ .../main/res/layout/fragment_headlines.xml | 20 ++ .../main/res/navigation/mobile_navigation.xml | 2 +- gradle/libs.versions.toml | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 16 files changed, 255 insertions(+), 337 deletions(-) delete mode 100644 .idea/other.xml create mode 100644 .idea/runConfigurations.xml create mode 100644 app/src/main/java/com/example/whatsub/HeadlinesFragment.kt create mode 100644 app/src/main/java/com/example/whatsub/NewsAdapter.kt create mode 100644 app/src/main/java/com/example/whatsub/NewsDetailActivity.kt create mode 100644 app/src/main/res/layout/activity_news_detail.xml create mode 100644 app/src/main/res/layout/fragment_headlines.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml index b589d56..b86273d 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index 5b386de..5d0ee37 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@