im试图从数据库检索数据到碎片使用回收视图,但我得到错误回收审查:没有适配器连接;跳过布局
我试图在获取和获取上下文之间切换,但仍然没有解决任何问题
搜索.java
package com.example.lifetravel40;
public class Search {
private int search_id;
private String activity;
private String description;
private String activity_img;
private String origin;
private String destination;
private String date_from;
private String date_to;
private String price ;
public Search(String activity, String description, String activity_img, String origin, String destination, String date_from, String date_to, String price){
this.search_id = search_id;
this.activity = activity;
this.description = description;
this.activity_img = activity_img;
this.origin =origin;
this.destination = destination;
this.date_from = date_from;
this.date_to = date_to;
this.price = price;
}
public int getSearch_id(){
return search_id;
}
public String getActivity(){
return activity;
}
public String getDescription(){
return description;
}
public String getActivity_img(){
return activity_img;
}
public String getOrigin(){
return origin;
}
public String getDestination(){
return destination;
}
public String getDate_from(){
return date_from;
}
public String getDate_to(){
return date_to;
}
public String getPrice(){
return price;
}
}
紫衣仙女
牛魔王的故事
相关分类