From b612cb96275d59c64dac8ad6653da4560215ed21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AF=E5=BD=AC?= Date: Fri, 31 May 2024 11:24:53 +0800 Subject: [PATCH] Code optimization --- .../me/jingbin/library/adapter/BaseByRecyclerViewAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ByRecyclerview/src/main/java/me/jingbin/library/adapter/BaseByRecyclerViewAdapter.java b/ByRecyclerview/src/main/java/me/jingbin/library/adapter/BaseByRecyclerViewAdapter.java index 1b96528..a8643f3 100644 --- a/ByRecyclerview/src/main/java/me/jingbin/library/adapter/BaseByRecyclerViewAdapter.java +++ b/ByRecyclerview/src/main/java/me/jingbin/library/adapter/BaseByRecyclerViewAdapter.java @@ -223,14 +223,14 @@ private void checkNoNull() { /** * 设置空布局(状态布局),在 setPageData() 时使用到 */ - public void setEmptyView(View emptyView) { + public void setPageEmptyView(View emptyView) { this.mStateView = emptyView; } /** * 设置空布局(状态布局),在 setPageData() 时使用到 */ - public void setEmptyView(int emptyLayoutId) { + public void setPageEmptyView(int emptyLayoutId) { if (mRecyclerView == null) { return; }