mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
fixed typo in attribute
This commit is contained in:
parent
1a831cd9db
commit
f3780d3be9
@ -28,7 +28,7 @@ public class StateLayout extends NestedScrollView {
|
||||
private static final int SHOW_RELOAD_STATE = 4;
|
||||
private static final int SHOW_EMPTY_STATE = 7;
|
||||
private static final int HIDDEN = 5;
|
||||
private static final int SHOWEN = 6;
|
||||
private static final int SHOWN = 6;
|
||||
private OnClickListener onReloadListener;
|
||||
|
||||
@BindView(R.id.empty_text) FontTextView emptyText;
|
||||
@ -117,7 +117,7 @@ public class StateLayout extends NestedScrollView {
|
||||
if (visibility == GONE || visibility == INVISIBLE) {
|
||||
layoutState = HIDDEN;
|
||||
} else {
|
||||
layoutState = SHOWEN;
|
||||
layoutState = SHOWN;
|
||||
}
|
||||
}
|
||||
|
||||
@ -165,7 +165,7 @@ public class StateLayout extends NestedScrollView {
|
||||
case SHOW_EMPTY_STATE:
|
||||
showEmptyState();
|
||||
break;
|
||||
case SHOWEN:
|
||||
case SHOWN:
|
||||
setVisibility(VISIBLE);
|
||||
showReload(adapterSize);
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user