From 198779ca695af4368f9f8d341bd8f8ed0266d283 Mon Sep 17 00:00:00 2001 From: chenjianpeng Date: Tue, 27 Jul 2021 17:35:57 +0800 Subject: [PATCH] =?UTF-8?q?1,=E4=BF=AE=E6=94=B9=E6=95=8F=E6=84=9F=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lcodecore/twinklingrefreshlayout/FoodAbility.java | 4 ++-- entry/src/main/resources/base/layout/content_main.xml | 2 +- .../java/com/lcodecore/tkrefreshlayout/XRecyclerView.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/entry/src/main/java/com/lcodecore/twinklingrefreshlayout/FoodAbility.java b/entry/src/main/java/com/lcodecore/twinklingrefreshlayout/FoodAbility.java index b05890f..3919f06 100644 --- a/entry/src/main/java/com/lcodecore/twinklingrefreshlayout/FoodAbility.java +++ b/entry/src/main/java/com/lcodecore/twinklingrefreshlayout/FoodAbility.java @@ -63,12 +63,12 @@ public class FoodAbility extends Ability { public static class ListAdapter extends BaseItemProvider { - private final Ability mActivity; + private final Ability mAbility; private final LayoutScatter mInflater; private final List items; public ListAdapter(Ability ability, List foods) { - mActivity = ability; + mAbility = ability; this.items = foods; mInflater = LayoutScatter.getInstance(ability); } diff --git a/entry/src/main/resources/base/layout/content_main.xml b/entry/src/main/resources/base/layout/content_main.xml index 42a456f..1dc17a1 100644 --- a/entry/src/main/resources/base/layout/content_main.xml +++ b/entry/src/main/resources/base/layout/content_main.xml @@ -61,7 +61,7 @@ ohos:background_element="#e0e0e0" ohos:layout_alignment="center" ohos:padding="10vp" - ohos:text="Story - ScrollView - GoogleDotView" + ohos:text="Story - ScrollView - DotView" ohos:text_size="15fp" ohos:top_margin="10vp"/> diff --git a/library/src/main/java/com/lcodecore/tkrefreshlayout/XRecyclerView.java b/library/src/main/java/com/lcodecore/tkrefreshlayout/XRecyclerView.java index a568891..d5e0b4a 100644 --- a/library/src/main/java/com/lcodecore/tkrefreshlayout/XRecyclerView.java +++ b/library/src/main/java/com/lcodecore/tkrefreshlayout/XRecyclerView.java @@ -113,7 +113,7 @@ public class XRecyclerView extends ListContainer implements Component.LayoutRefr } /** - * call it when you finish the activity, + * call it when you finish the ability, * when you call this,better don't call some kind of functions like * RefreshHeader,because the reference of mHeaderViews is NULL. */ -- Gitee