Browse Source

Removed getResult

master
Defend 8 years ago
parent
commit
065b710c06
  1. 7
      app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java

7
app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java

@ -40,6 +40,7 @@ class FeedReader extends Thread {
this.result = getRss(link);
this.threadState = States.THREAD_COMPLETE;
callback.onSuccess(result);
feedController.logIt("onSuccess called");
} catch (Exception e) {
this.threadState = States.THREAD_FAIL;
e.printStackTrace();
@ -69,9 +70,9 @@ class FeedReader extends Thread {
return this.threadState;
}
public String getResult() {
return this.result;
}
// public String getResult() {
// return this.result;
// }
interface ReaderCallback{
void onSuccess(String rssFeed);

Loading…
Cancel
Save