diff --git a/.idea/$PROJECT_FILE$ b/.idea/$PROJECT_FILE$
deleted file mode 100644
index 58b7e3e570f8289344d345f6e3634608e74c690d..0000000000000000000000000000000000000000
--- a/.idea/$PROJECT_FILE$
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/.gitignore b/.idea/.gitignore
deleted file mode 100644
index 26d33521af10bcc7fd8cea344038eaaeb78d0ef5..0000000000000000000000000000000000000000
--- a/.idea/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml
deleted file mode 100644
index 9d45f4369697246b4bb01e1cb33f15a0252f36ba..0000000000000000000000000000000000000000
--- a/.idea/checkstyle-idea.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/code-check/java/codemars.log b/.idea/code-check/java/codemars.log
deleted file mode 100644
index 0907e428e5d307b176c17c000e1a974e0cea7745..0000000000000000000000000000000000000000
--- a/.idea/code-check/java/codemars.log
+++ /dev/null
@@ -1,49 +0,0 @@
-2021-04-13 15:33:51.595 [main] INFO . - user input: C:\Program Files\Huawei\DevEco Studio 2.1.0.301\tools\openjdk\bin\java,-j,-source,@E:/upload/ExpandableTextView/.idea/code-check/java/detect.txt,-output,E:/upload/ExpandableTextView/.idea/code-check/java/output.xml
-2021-04-13 15:33:51.597 [main] INFO . - CodeMars Version:2.1.2.sp4
-2021-04-13 15:33:51.645 [main] INFO . - starting analyzing.
-2021-04-13 15:33:51.654 [main] INFO . - start collecting report.
-2021-04-13 15:33:51.657 [CodeMars1] INFO . - Command: "C:\Program Files\Huawei\DevEco Studio 2.1.0.301\plugins\codecheck\lib\CodeMars\engines\SecFinder-J\bin\run_SecFinder-J.bat",-filelist,E:\upload\ExpandableTextView\.idea\code-check\java\filelist_2021_04_13_15_33_51_655_0.txt,-f,xml,-default,-progress,-r,E:\upload\ExpandableTextView\.idea\code-check\java\\errorreport_2021_04_13_15_33_51_532_6.xml,-ruleclasspath,file:///E:\upload\ExpandableTextView\.idea\code-check\java\ruleclasspath.txt
-2021-04-13 15:33:51.801 [Thread-2] INFO . - 四月 13, 2021 3:33:51 下午 com.huawei.secfinderj.SecFinderJ needScan
-2021-04-13 15:33:51.802 [Thread-2] INFO . - 信息: SecFinder-J Version: 2.1.3
-2021-04-13 15:33:51.884 [Thread-1] INFO . - 2021-04-13 15:33:51.843: SecFinder-J Output: Inspect start...
-2021-04-13 15:33:51.952 [Thread-1] INFO . - 2021-04-13 15:33:51.952: SecFinder-J Output: Load checkers...
-2021-04-13 15:33:52.095 [Thread-1] INFO . - 2021-04-13 15:33:52.095: SecFinder-J Output: Load config...
-2021-04-13 15:33:52.123 [Thread-1] INFO . - 2021-04-13 15:33:52.123: SecFinder-J Output: step 1/4: Find files
-2021-04-13 15:33:52.161 [Thread-1] INFO . - 2021-04-13 15:33:52.161: SecFinder-J Output: step 2/4: Process files
-2021-04-13 15:33:52.202 [Thread-1] INFO . - 2021-04-13 15:33:52.202: SecFinder-J Output: step 3/4: Run analysis...
-2021-04-13 15:33:52.203 [Thread-1] INFO . - 2021-04-13 15:33:52.203: SecFinder-J Output: [SecFinder-J--Thread--1] - during processing of [BuildConfig.java]
-2021-04-13 15:33:52.203 [Thread-1] INFO . - 2021-04-13 15:33:52.203: SecFinder-J Output: [SecFinder-J--Thread--4] - during processing of [R.java]
-2021-04-13 15:33:52.203 [Thread-1] INFO . - 2021-04-13 15:33:52.203: SecFinder-J Output: [SecFinder-J--Thread--5] - during processing of [MainAbilityShellActivity.java]
-2021-04-13 15:33:52.208 [Thread-1] INFO . - 2021-04-13 15:33:52.208: SecFinder-J Output: [SecFinder-J--Thread--6] - during processing of [ShellMyApplication.java]
-2021-04-13 15:33:52.212 [Thread-1] INFO . - 2021-04-13 15:33:52.212: SecFinder-J Output: [SecFinder-J--Thread--7] - during processing of [MainAbility.java]
-2021-04-13 15:33:52.213 [Thread-1] INFO . - 2021-04-13 15:33:52.213: SecFinder-J Output: [SecFinder-J--Thread--2] - during processing of [ResourceTable.java]
-2021-04-13 15:33:52.213 [Thread-1] INFO . - 2021-04-13 15:33:52.213: SecFinder-J Output: [SecFinder-J--Thread--3] - during processing of [ResourceTable.java]
-2021-04-13 15:33:52.215 [Thread-1] INFO . - 2021-04-13 15:33:52.215: SecFinder-J Output: [SecFinder-J--Thread--8] - during processing of [MyApplication.java]
-2021-04-13 15:33:52.637 [Thread-1] INFO . - 2021-04-13 15:33:52.637: SecFinder-J Output: [SecFinder-J--Thread--1] - during processing of [ListAdapter.java]
-2021-04-13 15:33:52.695 [Thread-1] INFO . - 2021-04-13 15:33:52.695: SecFinder-J Output: [SecFinder-J--Thread--4] - during processing of [MainPagerAdapter.java]
-2021-04-13 15:33:52.702 [Thread-1] INFO . - 2021-04-13 15:33:52.702: SecFinder-J Output: [SecFinder-J--Thread--8] - during processing of [ViewHolder.java]
-2021-04-13 15:33:52.705 [Thread-1] INFO . - 2021-04-13 15:33:52.705: SecFinder-J Output: [SecFinder-J--Thread--7] - during processing of [MainAbilitySlice.java]
-2021-04-13 15:33:52.713 [Thread-1] INFO . - 2021-04-13 15:33:52.713: SecFinder-J Output: [SecFinder-J--Thread--6] - during processing of [MyToast.java]
-2021-04-13 15:33:52.717 [Thread-1] INFO . - 2021-04-13 15:33:52.717: SecFinder-J Output: [SecFinder-J--Thread--3] - during processing of [ViewCreateHelper.java]
-2021-04-13 15:33:52.736 [Thread-1] INFO . - 2021-04-13 15:33:52.722: SecFinder-J Output: [SecFinder-J--Thread--2] - during processing of [ExampleOhosTest.java]
-2021-04-13 15:33:52.775 [Thread-1] INFO . - 2021-04-13 15:33:52.775: SecFinder-J Output: [SecFinder-J--Thread--5] - during processing of [BuildConfig.java]
-2021-04-13 15:33:52.850 [Thread-1] INFO . - 2021-04-13 15:33:52.850: SecFinder-J Output: [SecFinder-J--Thread--8] - during processing of [BuildConfig.java]
-2021-04-13 15:33:52.882 [Thread-1] INFO . - 2021-04-13 15:33:52.882: SecFinder-J Output: [SecFinder-J--Thread--1] - during processing of [ResourceTable.java]
-2021-04-13 15:33:52.892 [Thread-1] INFO . - 2021-04-13 15:33:52.892: SecFinder-J Output: [SecFinder-J--Thread--4] - during processing of [ExpandableTextView.java]
-2021-04-13 15:33:52.905 [Thread-1] INFO . - 2021-04-13 15:33:52.905: SecFinder-J Output: [SecFinder-J--Thread--2] - during processing of [TypedAttrUtils.java]
-2021-04-13 15:33:53.206 [Thread-1] INFO . - 2021-04-13 15:33:53.206: SecFinder-J Output: step 4/4: Result output...
-2021-04-13 15:33:53.206 [Thread-1] INFO . - 2021-04-13 15:33:53.206: SecFinder-J Output: Inspect finish...
-2021-04-13 15:33:53.206 [Thread-1] INFO . - Analysis result:
-2021-04-13 15:33:53.206 [Thread-1] INFO . - files analyzed : 20
-2021-04-13 15:33:53.206 [Thread-1] INFO . - lines analyzed : 1702
-2021-04-13 15:33:53.206 [Thread-1] INFO . - rules used : 59
-2021-04-13 15:33:53.206 [Thread-1] INFO . - issues detected : 0
-2021-04-13 15:33:53.206 [Thread-1] INFO . - time cost(sec) : 1
-2021-04-13 15:33:53.206 [Thread-1] INFO . -
-2021-04-13 15:33:53.206 [Thread-2] INFO . - 四月 13, 2021 3:33:53 下午 com.huawei.secfinderj.override.HwPmd end
-2021-04-13 15:33:53.206 [Thread-2] INFO . - 信息: SecFinder-J run successed!
-2021-04-13 15:33:53.263 [CodeMars1] INFO . - start parse errorreport xml
-2021-04-13 15:33:53.265 [CodeMars1] INFO . - parse xml time : 3
-2021-04-13 15:33:53.265 [CodeMars1] INFO . - end parse errorreport xml
-2021-04-13 15:33:53.266 [main] INFO . - end collecting report.
-2021-04-13 15:33:53.266 [main] INFO . - end analyzing.
diff --git a/.idea/code-check/java/detect.txt b/.idea/code-check/java/detect.txt
deleted file mode 100644
index a2968f7c5b0a3502f8fb1d963cb6581099059c1f..0000000000000000000000000000000000000000
--- a/.idea/code-check/java/detect.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-E:/upload/ExpandableTextView/entry/build/generated/source/r/com/ms/square/android/expandabletextview/ResourceTable.java
-E:/upload/ExpandableTextView/library/build/generated/source/buildConfig/release/com/ms/square/android/expandabletextview/BuildConfig.java
-E:/upload/ExpandableTextView/entry/src/main/java/com/hos/expandabletextview/adapter/ViewHolder.java
-E:/upload/ExpandableTextView/entry/build/intermediates/shell/debug/src/main/java/com/hos/expandabletextview/ShellMyApplication.java
-E:/upload/ExpandableTextView/entry/src/main/java/com/hos/expandabletextview/utils/MyToast.java
-E:/upload/ExpandableTextView/library/src/main/java/com/ms/square/android/expandabletextview/TypedAttrUtils.java
-E:/upload/ExpandableTextView/library/build/generated/source/buildConfig/debug/com/ms/square/android/expandabletextview/BuildConfig.java
-E:/upload/ExpandableTextView/entry/src/main/java/com/hos/expandabletextview/utils/ViewCreateHelper.java
-E:/upload/ExpandableTextView/entry/src/ohosTest/java/com/hos/expandabletextview/ExampleOhosTest.java
-E:/upload/ExpandableTextView/library/src/main/java/com/ms/square/android/expandabletextview/ExpandableTextView.java
-E:/upload/ExpandableTextView/entry/build/generated/source/buildConfig/debug/com/hos/expandabletextview/BuildConfig.java
-E:/upload/ExpandableTextView/entry/build/intermediates/shell/debug/src/main/java/com/hos/expandabletextview/MainAbilityShellActivity.java
-E:/upload/ExpandableTextView/entry/build/generated/source/r/com/hos/expandabletextview/ResourceTable.java
-E:/upload/ExpandableTextView/entry/src/main/java/com/hos/expandabletextview/adapter/ListAdapter.java
-E:/upload/ExpandableTextView/library/build/generated/source/r/com/ms/square/android/expandabletextview/ResourceTable.java
-E:/upload/ExpandableTextView/entry/src/main/java/com/hos/expandabletextview/slice/MainAbilitySlice.java
-E:/upload/ExpandableTextView/entry/src/test/java/com/hos/expandabletextview/ExampleTest.java
-E:/upload/ExpandableTextView/entry/build/intermediates/shell/debug/build/res/r/com/hos/expandabletextview/R.java
-E:/upload/ExpandableTextView/entry/src/main/java/com/hos/expandabletextview/adapter/MainPagerAdapter.java
-E:/upload/ExpandableTextView/entry/src/main/java/com/hos/expandabletextview/MainAbility.java
-E:/upload/ExpandableTextView/entry/src/main/java/com/hos/expandabletextview/MyApplication.java
diff --git a/.idea/code-check/java/output.xml b/.idea/code-check/java/output.xml
deleted file mode 100644
index 464408f40f0a3c64c41d0f4c9aff0d5ddd748f5a..0000000000000000000000000000000000000000
--- a/.idea/code-check/java/output.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-20
-1702
-1
-0
-
diff --git a/.idea/code-check/java/ruleclasspath.txt b/.idea/code-check/java/ruleclasspath.txt
deleted file mode 100644
index 17d8c272314fc39872f57693dc6deab73ec86f02..0000000000000000000000000000000000000000
--- a/.idea/code-check/java/ruleclasspath.txt
+++ /dev/null
@@ -1 +0,0 @@
-C:\Program Files\Huawei\DevEco Studio 2.1.0.301\plugins\codecheck\lib\CodeMars\engines\SecFinder-J\rule\
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index 61a9130cd9669c3843e6445dfe1fee2d493869bc..0000000000000000000000000000000000000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
deleted file mode 100644
index 10f0aec39e9580270750a89d54e93b5fd63a4275..0000000000000000000000000000000000000000
--- a/.idea/gradle.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
deleted file mode 100644
index 1dfcd020d2b2774ad414ac5c0acc344e9b9479b4..0000000000000000000000000000000000000000
--- a/.idea/jarRepositories.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index 7bf152725d9d53037fa3e174e7865c7d18875e47..0000000000000000000000000000000000000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/qaplug_profiles.xml b/.idea/qaplug_profiles.xml
deleted file mode 100644
index 9a7566c94362079d1e0f51c08291b7049b059dc6..0000000000000000000000000000000000000000
--- a/.idea/qaplug_profiles.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 94a25f7f4cb416c083d265558da75d457237d671..0000000000000000000000000000000000000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/entry/src/main/config.json b/entry/src/main/config.json
index 2fcf959735978a3a8c1ba996e57b2bdbb14da3b9..f309cd4b106f0179e0a4e9e839031320361b62ff 100644
--- a/entry/src/main/config.json
+++ b/entry/src/main/config.json
@@ -7,7 +7,7 @@
"name": "1.0"
},
"apiVersion": {
- "compatible": 4,
+ "compatible": 5,
"target": 5,
"releaseType": "Beta1"
}
diff --git a/entry/src/main/java/com/hos/expandabletextview/utils/ViewCreateHelper.java b/entry/src/main/java/com/hos/expandabletextview/utils/ViewCreateHelper.java
index 9399e2a26e1b8f144218a9fae6dec0dab36c5c7e..74e27e690a0db3f0ec429795aac67331a4eecac1 100644
--- a/entry/src/main/java/com/hos/expandabletextview/utils/ViewCreateHelper.java
+++ b/entry/src/main/java/com/hos/expandabletextview/utils/ViewCreateHelper.java
@@ -160,18 +160,6 @@ public final class ViewCreateHelper {
public void onItemClicked(ListContainer listContainer, Component component, int position, long l) {
}
});
- //婊氬姩缁撴潫
- listContainer.setScrollListener(new ListContainer.ScrollListener() {
- @Override
- public void onScrollFinished() {
- }
- });
- //婊氬姩鐘舵
- listContainer.addScrolledListener(new Component.ScrolledListener() {
- @Override
- public void onContentScrolled(Component component, int scrollX, int scrollY, int oldScrollX, int oldScrollY) {
- }
- });
}
private List getData() {
diff --git a/library/src/main/config.json b/library/src/main/config.json
index d2a5e3724dee3f0b3e766209ea6d6eabaf1ab4b9..8e64906c16819650c5e567bde7c8e74aac1ec45e 100644
--- a/library/src/main/config.json
+++ b/library/src/main/config.json
@@ -7,8 +7,8 @@
"name": "1.0"
},
"apiVersion": {
- "compatible": 3,
- "target": 4,
+ "compatible": 5,
+ "target": 5,
"releaseType": "Beta1"
}
},