What can we do to settext from this code?
<p>I have a problem that I have a class and I want to have texts from this class to the mainActivity on a textview . Can some one help me ? And I want to call it on text view on main , I tried this but it didn't work </p>

<pre><code>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; }
</code></pre>
