|
|
@ -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() { |
|
|
|