diff --git a/entry/src/main/java/com/lcodecore/twinklingrefreshlayout/FoodAbility.java b/entry/src/main/java/com/lcodecore/twinklingrefreshlayout/FoodAbility.java index b05890fc1847eb90b4068b1d3292cc9cd826dae3..3919f06fcbccc71dd2192d0fb4048072c2efc623 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 42a456f07ffa06d97a09b1881f9f8fdc1773ac28..1dc17a10195774a6050799e32641d77ecc3720ff 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 a56889162d65fccb8d920cb5da30f2672097cb4b..d5e0b4a7f61aae20be70b1ff775e0f14b3ea4af9 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. */