AbsLayout.java
1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* Copyright (c) People Technologies Co., Ltd. 2019-2022. All rights reserved.
*/
package com.wd.display.comp.layoutdata;
import android.text.TextUtils;
public abstract class AbsLayout {
/**
* 页面id
*/
private String id;
private String blockDesc;
private boolean showBlock = true;
/**
* 记录楼层已展示的组件数量
*/
private int displayItemCount = 0;
public String getId() {
return TextUtils.isEmpty(this.id) ? "" : this.id;
}
public void setId(String id) {
this.id = id;
}
public String getBlockDesc() {
return blockDesc;
}
public int getDisplayItemCount() {
return displayItemCount;
}
public void setDisplayItemCount(int displayItemCount) {
this.displayItemCount = displayItemCount;
}
public void setBlockDesc(String blockDesc) {
this.blockDesc = blockDesc;
}
public boolean isShowBlock() {
return showBlock;
}
public void setShowBlock(boolean showBlock) {
this.showBlock = showBlock;
}
/**
* getLayoutPresenter
*
* @return getLayoutPresenter
*/
public abstract ILayoutPresenter getLayoutPresenter();
}