From 008a369063a322a18cffe34f915f3c30191d3eb2 Mon Sep 17 00:00:00 2001 From: why Date: Thu, 21 Mar 2024 00:15:13 +0800 Subject: [PATCH] =?UTF-8?q?[Feat]:=20Mikan=20RSS=20=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=8E=9F=E7=94=9F=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/deploymentTargetSelector.xml | 2 +- .idea/other.xml | 210 ------------------ app/src/main/AndroidManifest.xml | 8 + .../com/xiaoyv/bangumi/helper/RouteHelper.kt | 15 ++ .../bangumi/special/magnet/MagnetActivity.kt | 85 ++++--- .../bangumi/special/mikan/MikanActivity.kt | 67 ++++++ .../bangumi/special/mikan/MikanAdapter.kt | 24 ++ .../bangumi/special/mikan/MikanViewModel.kt | 31 +++ .../mikan/resource/MikanResourceActivity.kt | 67 ++++++ .../mikan/resource/MikanResourceViewModel.kt | 23 ++ .../ui/media/detail/MediaDetailActivity.kt | 2 +- .../main/res/layout/activity_mikan_item.xml | 75 +++++++ .../com/xiaoyv/common/api/api/BgmWebApi.kt | 12 +- .../common/api/parser/entity/MikanEntity.kt | 35 +++ .../common/api/parser/impl/MikanParser.kt | 61 +++++ .../com/xiaoyv/common/helper/MiKanHelper.kt | 7 +- lib-common/src/main/res/values/strings.xml | 2 + 17 files changed, 473 insertions(+), 253 deletions(-) create mode 100644 app/src/main/java/com/xiaoyv/bangumi/special/mikan/MikanActivity.kt create mode 100644 app/src/main/java/com/xiaoyv/bangumi/special/mikan/MikanAdapter.kt create mode 100644 app/src/main/java/com/xiaoyv/bangumi/special/mikan/MikanViewModel.kt create mode 100644 app/src/main/java/com/xiaoyv/bangumi/special/mikan/resource/MikanResourceActivity.kt create mode 100644 app/src/main/java/com/xiaoyv/bangumi/special/mikan/resource/MikanResourceViewModel.kt create mode 100644 app/src/main/res/layout/activity_mikan_item.xml create mode 100644 lib-common/src/main/java/com/xiaoyv/common/api/parser/entity/MikanEntity.kt create mode 100644 lib-common/src/main/java/com/xiaoyv/common/api/parser/impl/MikanParser.kt diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index a78e61a4..a25155da 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,7 +4,7 @@