diff --git a/app/src/main/java/hunnu/sj/raise_money/NewsUtils.java b/app/src/main/java/hunnu/sj/raise_money/NewsUtils.java index f9e4954..91e10a8 100644 --- a/app/src/main/java/hunnu/sj/raise_money/NewsUtils.java +++ b/app/src/main/java/hunnu/sj/raise_money/NewsUtils.java @@ -9,9 +9,10 @@ import java.util.ArrayList; import hunnu.sj.raise_money.DataBase.UserService; public class NewsUtils { - public static void getAllNews(Context context,ArrayList list){//从数据库获取信息到本地 + public static int getAllNews(Context context,ArrayList list){//从数据库获取信息到本地 UserService uService = new UserService(); uService.getAllNews(context,list); + return 1; /*for(int i = 0 ;i <100;i++) { News news = new News();