From fd74b214ac2e6c395592ea5f057ebf82365456f5 Mon Sep 17 00:00:00 2001 From: chenjianpeng Date: Thu, 16 Sep 2021 16:18:43 +0800 Subject: [PATCH] =?UTF-8?q?1=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=B1=BB=E7=89=88=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 ++-- .../tkrefreshlayout/ArrowRefreshHeader.java | 15 +++++++++++++++ .../tkrefreshlayout/BaseRefreshHeader.java | 15 +++++++++++++++ .../tkrefreshlayout/CustomFooterViewCallBack.java | 15 +++++++++++++++ .../tkrefreshlayout/LoadingMoreFooter.java | 15 +++++++++++++++ .../lcodecore/tkrefreshlayout/ProgressStyle.java | 15 +++++++++++++++ .../tkrefreshlayout/SimpleViewSwitcher.java | 15 +++++++++++++++ .../tkrefreshlayout/StickyScrollLinearLayout.java | 15 +++++++++++++++ .../lcodecore/tkrefreshlayout/XRecyclerView.java | 15 +++++++++++++++ .../processor/AVLoadingIndicatorView.java | 15 +++++++++++++++ .../tkrefreshlayout/processor/LVBase.java | 15 +++++++++++++++ .../tkrefreshlayout/processor/LVCircularZoom.java | 15 +++++++++++++++ .../processor/loading/LoadingBuilder.java | 2 +- .../processor/loading/LoadingDrawable.java | 2 +- .../processor/loading/LoadingView.java | 2 +- 15 files changed, 170 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index a4bbee5..8d8841f 100644 --- a/build.gradle +++ b/build.gradle @@ -19,8 +19,8 @@ buildscript { jcenter() } dependencies { - classpath 'com.huawei.ohos:hap:2.4.5.0' - classpath 'com.huawei.ohos:decctest:1.2.4.1' + classpath 'com.huawei.ohos:hap:2.4.5.5' + classpath 'com.huawei.ohos:decctest:1.2.5.1' } } diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/ArrowRefreshHeader.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/ArrowRefreshHeader.java index 4f6f277..e91f9d5 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/ArrowRefreshHeader.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/ArrowRefreshHeader.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/BaseRefreshHeader.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/BaseRefreshHeader.java index 8a1991d..530cdd5 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/BaseRefreshHeader.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/BaseRefreshHeader.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout; interface BaseRefreshHeader { diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/CustomFooterViewCallBack.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/CustomFooterViewCallBack.java index 503aa54..4232a6f 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/CustomFooterViewCallBack.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/CustomFooterViewCallBack.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout; import ohos.agp.components.Component; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/LoadingMoreFooter.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/LoadingMoreFooter.java index a2f3e3b..a37401b 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/LoadingMoreFooter.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/LoadingMoreFooter.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout; import com.lcodecore.tkrefreshlayout.processor.AVLoadingIndicatorView; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/ProgressStyle.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/ProgressStyle.java index b0b9a64..8390114 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/ProgressStyle.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/ProgressStyle.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/SimpleViewSwitcher.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/SimpleViewSwitcher.java index 1918e2d..da875ba 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/SimpleViewSwitcher.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/SimpleViewSwitcher.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout; import ohos.agp.components.AttrSet; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/StickyScrollLinearLayout.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/StickyScrollLinearLayout.java index adc4e43..99a26f8 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/StickyScrollLinearLayout.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/StickyScrollLinearLayout.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout; import ohos.agp.components.AttrSet; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/XRecyclerView.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/XRecyclerView.java index d5e0b4a..b0acdb4 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/XRecyclerView.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/XRecyclerView.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout; import ohos.agp.components.AttrSet; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/AVLoadingIndicatorView.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/AVLoadingIndicatorView.java index 55aee48..3942696 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/AVLoadingIndicatorView.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/AVLoadingIndicatorView.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout.processor; import com.lcodecore.tkrefreshlayout.processor.indicator.BallBeatIndicator; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/LVBase.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/LVBase.java index 9ca0719..58fa7b4 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/LVBase.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/LVBase.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout.processor; import ohos.agp.animation.Animator; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/LVCircularZoom.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/LVCircularZoom.java index 9b9c34e..1f14590 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/LVCircularZoom.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/LVCircularZoom.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.lcodecore.tkrefreshlayout.processor; import ohos.agp.animation.Animator; diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingBuilder.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingBuilder.java index 1d05b22..ee01165 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingBuilder.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingBuilder.java @@ -2,7 +2,7 @@ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. - * You may obtain an copy of the License at + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingDrawable.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingDrawable.java index f7c6f87..c5505a6 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingDrawable.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingDrawable.java @@ -2,7 +2,7 @@ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. - * You may obtain an copy of the License at + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingView.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingView.java index 5326cba..5f71197 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingView.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/processor/loading/LoadingView.java @@ -2,7 +2,7 @@ * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. - * You may obtain an copy of the License at + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * -- Gitee