diff --git a/app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java b/app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java index 67aea1f..b26e0fe 100644 --- a/app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java +++ b/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);