| | |
| | | package com.hdl.hdlsdk;
|
| | |
|
| | | import com.chad.library.adapter.base.entity.MultiItemEntity;
|
| | |
|
| | | /**
|
| | | * Created by Tong on 2021/10/8.
|
| | | */
|
| | | public class DemoBean implements MultiItemEntity {
|
| | |
|
| | | private String name;
|
| | |
|
| | | public DemoBean(String name) {
|
| | | this.name = name;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public int getItemType() {
|
| | | return 0;
|
| | | }
|
| | |
|
| | | public String getName() {
|
| | | return name;
|
| | | }
|
| | |
|
| | | public void setName(String name) {
|
| | | this.name = name;
|
| | | }
|
| | | }
|
| | | package com.hdl.hdlsdk; |
| | | |
| | | import com.chad.library.adapter.base.entity.MultiItemEntity; |
| | | |
| | | /** |
| | | * Created by Tong on 2021/10/8. |
| | | */ |
| | | public class DemoBean implements MultiItemEntity { |
| | | |
| | | private String name; |
| | | |
| | | public DemoBean(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | @Override |
| | | public int getItemType() { |
| | | return 0; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | } |