diff --git a/CHANGELOG.md b/CHANGELOG.md index c586a6614fe339272a3c42e13afa92758c2fcb5e..39179ea55dd70ef6218576084799e25ac214bd11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## v2.0.0 -1. 适配DevEco Studio版本: 4.0 Beta2(4.0.3.600), openHarmony SDK版本:API10 Release(4.0.10.11) +1. 适配DevEco Studio版本: 4.0 Beta2(4.0.3.600), OpenHarmony SDK版本:API10 Release(4.0.10.11) 2. ArkTs新语法适配 ## v1.1.1 diff --git a/README.md b/README.md index 1f351a163167d11c06a7461ba80c00ca3da489b0..7f2242f1770271a95741c76671eb14ef4a681d5b 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ build() { ```` |---- recyclerview_animators | |---- entry # 示例代码文件夹 -| |---- recyclerview_animators # 库文件夹 +| |---- library # 库文件夹 | |----src |----main |----ets diff --git a/build-profile.json5 b/build-profile.json5 index 9eb68e6acb8befd125942c3a456915e1e878b462..f0668edb42e3086ae06cc09687b6843a9f0685bf 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -34,8 +34,8 @@ ] }, { - "name": "recyclerview_animators", - "srcPath": "./recyclerview_animators" + "name": "library", + "srcPath": "./library" } ] } \ No newline at end of file diff --git a/entry/oh-package.json5 b/entry/oh-package.json5 index 8124860d5b29aaeb72b58755839d98736979cd33..8cbfdc8380eeda67cf483ac3e2b64b624e54569f 100644 --- a/entry/oh-package.json5 +++ b/entry/oh-package.json5 @@ -7,10 +7,10 @@ "directoryLevel": "module", "buildTool": "hvigor" }, - "description": "example description", + "description": "This is an example for using the recyclerview-animators library", "repository": {}, "version": "2.0.0", "dependencies": { - "@ohos/recyclerview-animators": "file:../recyclerview_animators" + "@ohos/recyclerview-animators": "file:../library" } } \ No newline at end of file diff --git a/recyclerview_animators/.gitignore b/library/.gitignore similarity index 100% rename from recyclerview_animators/.gitignore rename to library/.gitignore diff --git a/recyclerview_animators/Index.ets b/library/Index.ets similarity index 100% rename from recyclerview_animators/Index.ets rename to library/Index.ets diff --git a/recyclerview_animators/build-profile.json5 b/library/build-profile.json5 similarity index 100% rename from recyclerview_animators/build-profile.json5 rename to library/build-profile.json5 diff --git a/recyclerview_animators/consumer-rules.txt b/library/consumer-rules.txt similarity index 100% rename from recyclerview_animators/consumer-rules.txt rename to library/consumer-rules.txt diff --git a/recyclerview_animators/hvigorfile.ts b/library/hvigorfile.ts similarity index 100% rename from recyclerview_animators/hvigorfile.ts rename to library/hvigorfile.ts diff --git a/recyclerview_animators/obfuscation-rules.txt b/library/obfuscation-rules.txt similarity index 100% rename from recyclerview_animators/obfuscation-rules.txt rename to library/obfuscation-rules.txt diff --git a/recyclerview_animators/oh-package.json5 b/library/oh-package.json5 similarity index 99% rename from recyclerview_animators/oh-package.json5 rename to library/oh-package.json5 index 8098423ffcf68c82bcde940bb85cfbcc25c5cb68..0da36e4bc5bf19a5f2db71d09248a8f344673dfa 100644 --- a/recyclerview_animators/oh-package.json5 +++ b/library/oh-package.json5 @@ -23,4 +23,4 @@ "license": "Apache License 2.0", "devDependencies": {}, "name": "@ohos/recyclerview-animators" -} +} \ No newline at end of file diff --git a/recyclerview_animators/src/main/ets/components/RecyclerView.ets b/library/src/main/ets/components/RecyclerView.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/RecyclerView.ets rename to library/src/main/ets/components/RecyclerView.ets diff --git a/recyclerview_animators/src/main/ets/components/adapterAnimator/AlphaInAnimationAdapter.ets b/library/src/main/ets/components/adapterAnimator/AlphaInAnimationAdapter.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/adapterAnimator/AlphaInAnimationAdapter.ets rename to library/src/main/ets/components/adapterAnimator/AlphaInAnimationAdapter.ets diff --git a/recyclerview_animators/src/main/ets/components/adapterAnimator/ScaleInAnimationAdapter.ets b/library/src/main/ets/components/adapterAnimator/ScaleInAnimationAdapter.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/adapterAnimator/ScaleInAnimationAdapter.ets rename to library/src/main/ets/components/adapterAnimator/ScaleInAnimationAdapter.ets diff --git a/recyclerview_animators/src/main/ets/components/adapterAnimator/SlideInBottomAnimationAdapter.ets b/library/src/main/ets/components/adapterAnimator/SlideInBottomAnimationAdapter.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/adapterAnimator/SlideInBottomAnimationAdapter.ets rename to library/src/main/ets/components/adapterAnimator/SlideInBottomAnimationAdapter.ets diff --git a/recyclerview_animators/src/main/ets/components/adapterAnimator/SlideInLeftAnimationAdapter.ets b/library/src/main/ets/components/adapterAnimator/SlideInLeftAnimationAdapter.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/adapterAnimator/SlideInLeftAnimationAdapter.ets rename to library/src/main/ets/components/adapterAnimator/SlideInLeftAnimationAdapter.ets diff --git a/recyclerview_animators/src/main/ets/components/adapterAnimator/SlideInRightAnimationAdapter.ets b/library/src/main/ets/components/adapterAnimator/SlideInRightAnimationAdapter.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/adapterAnimator/SlideInRightAnimationAdapter.ets rename to library/src/main/ets/components/adapterAnimator/SlideInRightAnimationAdapter.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/FadeInAnimator.ets b/library/src/main/ets/components/itemAnimator/FadeInAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/FadeInAnimator.ets rename to library/src/main/ets/components/itemAnimator/FadeInAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/FadeInDownAnimator.ets b/library/src/main/ets/components/itemAnimator/FadeInDownAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/FadeInDownAnimator.ets rename to library/src/main/ets/components/itemAnimator/FadeInDownAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/FadeInLeftAnimator.ets b/library/src/main/ets/components/itemAnimator/FadeInLeftAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/FadeInLeftAnimator.ets rename to library/src/main/ets/components/itemAnimator/FadeInLeftAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/FadeInRightAnimator.ets b/library/src/main/ets/components/itemAnimator/FadeInRightAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/FadeInRightAnimator.ets rename to library/src/main/ets/components/itemAnimator/FadeInRightAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/FadeInUpAnimator.ets b/library/src/main/ets/components/itemAnimator/FadeInUpAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/FadeInUpAnimator.ets rename to library/src/main/ets/components/itemAnimator/FadeInUpAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/LandingAnimator.ets b/library/src/main/ets/components/itemAnimator/LandingAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/LandingAnimator.ets rename to library/src/main/ets/components/itemAnimator/LandingAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/OvershootInLeftAnimator.ets b/library/src/main/ets/components/itemAnimator/OvershootInLeftAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/OvershootInLeftAnimator.ets rename to library/src/main/ets/components/itemAnimator/OvershootInLeftAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/OvershootInRightAnimator.ets b/library/src/main/ets/components/itemAnimator/OvershootInRightAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/OvershootInRightAnimator.ets rename to library/src/main/ets/components/itemAnimator/OvershootInRightAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInAnimator.ets b/library/src/main/ets/components/itemAnimator/ScaleInAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInAnimator.ets rename to library/src/main/ets/components/itemAnimator/ScaleInAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInBottomAnimator.ets b/library/src/main/ets/components/itemAnimator/ScaleInBottomAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInBottomAnimator.ets rename to library/src/main/ets/components/itemAnimator/ScaleInBottomAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInLeftAnimator.ets b/library/src/main/ets/components/itemAnimator/ScaleInLeftAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInLeftAnimator.ets rename to library/src/main/ets/components/itemAnimator/ScaleInLeftAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInRightAnimator.ets b/library/src/main/ets/components/itemAnimator/ScaleInRightAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInRightAnimator.ets rename to library/src/main/ets/components/itemAnimator/ScaleInRightAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInTopAnimator.ets b/library/src/main/ets/components/itemAnimator/ScaleInTopAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/ScaleInTopAnimator.ets rename to library/src/main/ets/components/itemAnimator/ScaleInTopAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/SlideInDownAnimator.ets b/library/src/main/ets/components/itemAnimator/SlideInDownAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/SlideInDownAnimator.ets rename to library/src/main/ets/components/itemAnimator/SlideInDownAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/SlideInLeftAnimator.ets b/library/src/main/ets/components/itemAnimator/SlideInLeftAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/SlideInLeftAnimator.ets rename to library/src/main/ets/components/itemAnimator/SlideInLeftAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/SlideInRightAnimator.ets b/library/src/main/ets/components/itemAnimator/SlideInRightAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/SlideInRightAnimator.ets rename to library/src/main/ets/components/itemAnimator/SlideInRightAnimator.ets diff --git a/recyclerview_animators/src/main/ets/components/itemAnimator/SlideInUpAnimator.ets b/library/src/main/ets/components/itemAnimator/SlideInUpAnimator.ets similarity index 100% rename from recyclerview_animators/src/main/ets/components/itemAnimator/SlideInUpAnimator.ets rename to library/src/main/ets/components/itemAnimator/SlideInUpAnimator.ets diff --git a/recyclerview_animators/src/main/module.json5 b/library/src/main/module.json5 similarity index 71% rename from recyclerview_animators/src/main/module.json5 rename to library/src/main/module.json5 index 9cae898ea47689143db37dfe8c02b50174fa2f30..0204bcbe104d49753055cfe84e63bf81a404cf62 100644 --- a/recyclerview_animators/src/main/module.json5 +++ b/library/src/main/module.json5 @@ -1,10 +1,10 @@ { "module": { - "name": "recyclerview_animators", + "name": "library", "type": "har", "deviceTypes": [ "default", "tablet" ] } -} +} \ No newline at end of file diff --git a/recyclerview_animators/src/main/resources/base/element/string.json b/library/src/main/resources/base/element/string.json similarity index 100% rename from recyclerview_animators/src/main/resources/base/element/string.json rename to library/src/main/resources/base/element/string.json diff --git a/recyclerview_animators/src/main/resources/en_US/element/string.json b/library/src/main/resources/en_US/element/string.json similarity index 100% rename from recyclerview_animators/src/main/resources/en_US/element/string.json rename to library/src/main/resources/en_US/element/string.json diff --git a/recyclerview_animators/src/main/resources/zh_CN/element/string.json b/library/src/main/resources/zh_CN/element/string.json similarity index 100% rename from recyclerview_animators/src/main/resources/zh_CN/element/string.json rename to library/src/main/resources/zh_CN/element/string.json