diff --git a/build.gradle b/build.gradle index a4bbee50c84428507c792bf978676f0ff6fe17a8..8d8841fe541089eafedb591330e0c948cd7e7842 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 4f6f277b10918bd6e0a32a0dd2232658793dec6c..e91f9d5efbc696ebd4724142a33320ad24441e09 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 8a1991d2fe5f7ed2943ba1f4cd45b8bec92fce91..530cdd5364f15458b5dc1ea1d303a44f366a5fc7 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 503aa5471cc5601aeae58a176ccd95417f566259..4232a6f4f44b4c58464561e169bfb63975399987 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 a2f3e3b1d846397400ba1f4aa88b839052d33a37..a37401b393660dcfd4769f1053ecd32994890ad7 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 b0b9a645b0d46a19acc89bd34f22451f48e063d1..8390114bbedd677095a1c4ad3fed439a26063f6e 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 1918e2d1a388aacdd39a1115bcf31ad6ee57052d..da875baf7b5484c8bca1c0cd86c496a68840f28e 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 adc4e43b510574d48a6416e6fffe1395395709ad..99a26f8fa0b43be397e2ae6424bd9f15d072756f 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 d5e0b4a7f61aae20be70b1ff775e0f14b3ea4af9..b0acdb4bb96802d3a4b812ec187b82b7b0f821df 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 55aee4885e6892f51a809ac45e1257fd886cbee3..39426967fe54812865163bc5820b60b6cb909c38 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 9ca07196817dbc670acb45b1edc575703802cafe..58fa7b48cbcd9d5f9a520d350e1cb5e531e02598 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 9b9c34ea40a148a0349aad41d6d7060114146f16..1f14590c2673b9e6ae5570ccf870f2c635dc49f5 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 1d05b2251a76d81460c2e72c1f51e56df164a48b..ee01165e89d98890ce79a5bdb5e82f87ac733664 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 f7c6f87c1c3573bd59d0e66c6abc16df3d0b5abb..c5505a684d4305b751f4e02af75db838c38ebb39 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 5326cba51b94ed92d4c72d411fb13be2cda87b6c..5f71197e690efa0064e0e10ad1577fd2ca2e356c 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 *