Skip to content

Commit 2965c40

Browse files
authored
Merge pull request CymChad#2069 from AllenCoder/master
Accept suggestions https://github.com/CymChad/BaseRecyclerViewAdapter…
2 parents 9fbbedc + fbbd675 commit 2965c40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

library/src/main/java/com/chad/library/adapter/base/BaseQuickAdapter.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1342,9 +1342,11 @@ public void setEmptyView(int layoutResId, ViewGroup viewGroup) {
13421342

13431343
/**
13441344
* bind recyclerView {@link #bindToRecyclerView(RecyclerView)} before use!
1345-
*
1345+
* Recommend you to use {@link #setEmptyView(layoutResId,viewGroup)}
13461346
* @see #bindToRecyclerView(RecyclerView)
1347+
*
13471348
*/
1349+
@Deprecated
13481350
public void setEmptyView(int layoutResId) {
13491351
checkNotNull();
13501352
setEmptyView(layoutResId, getRecyclerView());

0 commit comments

Comments
 (0)