diff --git a/README.md b/README.md index 66f3db91d86fea5876eee4bafb212d18d01d956d..04d16454825393f5649fa4ec4a1e68ad00b6e8f1 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ } ``` -在sdk6,DevEco Studio2.2 beta1下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 +在sdk6,DevEco Studio 2.2 beta1下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 #### 使用说明 diff --git a/entry/src/main/java/com/willy/example/MainAbility.java b/entry/src/main/java/com/willy/example/MainAbility.java index 875adbe5756172a5b6f2a72234e41bfbde520a5a..bc34b24338cc4f6baa1e7b9e71a9528c918824b6 100644 --- a/entry/src/main/java/com/willy/example/MainAbility.java +++ b/entry/src/main/java/com/willy/example/MainAbility.java @@ -19,7 +19,7 @@ import com.willy.example.slice.MainAbilitySlice; import ohos.aafwk.ability.Ability; import ohos.aafwk.content.Intent; -/** TouchEventManager +/** MainAbility * * @author ljx * @since 2021-07-02 diff --git a/entry/src/main/java/com/willy/example/slice/MainAbilitySlice.java b/entry/src/main/java/com/willy/example/slice/MainAbilitySlice.java index a3d38fc3f6613c3291dc0b07154dd64e64e2343e..1bde284c230d1cd02f65f81ed437f4a5737c6c9e 100644 --- a/entry/src/main/java/com/willy/example/slice/MainAbilitySlice.java +++ b/entry/src/main/java/com/willy/example/slice/MainAbilitySlice.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.willy.example.slice; import com.willy.example.DemoFragment; @@ -18,6 +33,11 @@ import ohos.app.Context; import ohos.eventhandler.EventHandler; import ohos.eventhandler.EventRunner; +/** MainAbilitySlice + * + * @author ljx + * @since 2021-07-02 + */ public class MainAbilitySlice extends AbilitySlice { private PageSlider pageSlider; diff --git a/library/src/main/java/com/willy/ratingbar/BaseRatingBar.java b/library/src/main/java/com/willy/ratingbar/BaseRatingBar.java index 46e50ab13226b96dd1d7a5c310b08ac5150d5160..ec35c9d921b055bd50a05f598a3d5c2e79067bd5 100644 --- a/library/src/main/java/com/willy/ratingbar/BaseRatingBar.java +++ b/library/src/main/java/com/willy/ratingbar/BaseRatingBar.java @@ -57,7 +57,7 @@ public class BaseRatingBar extends DirectionalLayout implements SimpleRatingBar, /** * @param context context * @param attrs attributes from XML => app:mainText="mainText" - * @param defStyleAttr attributes from default style (Application theme or activity theme) + * @param defStyleAttr attributes from default style (Application theme or theme) */ public BaseRatingBar(Context context, AttrSet attrs, String defStyleAttr) { super(context, attrs, defStyleAttr);