From 5802528db1de280019407827a4c49c4fb79765ac Mon Sep 17 00:00:00 2001 From: Defend Date: Tue, 14 Feb 2017 20:09:42 +0300 Subject: [PATCH] Fixed Group class because of one problem --- .../main/java/ru/defend/defdevteam/tstu/NewsItemList.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/ru/defend/defdevteam/tstu/NewsItemList.java b/app/src/main/java/ru/defend/defdevteam/tstu/NewsItemList.java index 347d051..8476324 100644 --- a/app/src/main/java/ru/defend/defdevteam/tstu/NewsItemList.java +++ b/app/src/main/java/ru/defend/defdevteam/tstu/NewsItemList.java @@ -64,8 +64,10 @@ public class NewsItemList implements Iterable { private String text; private String link; - Group() { - + Group(String title, String text, String link) { + this.title = title; + this.text = text; + this.link = link; } public void set(String title, String text, String link) {