通过上一篇自定义RecyclerView横竖滑动的功能,这一篇来实现 填充数据功能
自定义适配器负责填充数据
//自定义实体类
public class OrderInfo {
private long id;
private String guestName;
public boolean isEditable() {
return isEditable;
}
public void setEditable(boolean editable) {
isEditable = editable