我有一个问题,我有一堂课,我想把这个课上的文本放到 textview 上的 mainActivity 中。有人能帮我吗 ?我想在 main 的文本视图中调用它,我试过了,但没有用
private String title;
private String test1;
private String Time;
private String test2;
private String report;
enter code here
public String getTime() {
return Time;
}
public void setTime(String time) {
Time = time;
}
public String getScore() {
return test2;
}
public void setScore(String score) {
this.test2 = score;
}
public String getReport() {
return report;
}
public void setReport(String report) {
this.report = report;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title; }