Browse Source

Little fix for order of feed news.

master
Defend 8 years ago
parent
commit
b2d85fa7c7
  1. 7
      app/src/main/java/ru/defend/defdevteam/tstu/NewsItemList.java

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

@ -4,8 +4,8 @@ import android.os.Build;
import android.util.Log;
import android.view.View;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
/**
@ -13,10 +13,11 @@ import java.util.Map;
*/
public class NewsItemList {
private HashMap<Integer, NewsItemGroup> hashMap;
private LinkedHashMap<Integer, NewsItemGroup> hashMap;
NewsItemList() {
hashMap = new HashMap<>();
hashMap = new LinkedHashMap<>();
}
public NewsItemGroup[] toArray() {

Loading…
Cancel
Save