|
|
|
@ -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<News> list){//从数据库获取信息到本地
|
|
|
|
|
public static int getAllNews(Context context,ArrayList<News> list){//从数据库获取信息到本地
|
|
|
|
|
UserService uService = new UserService();
|
|
|
|
|
uService.getAllNews(context,list);
|
|
|
|
|
return 1;
|
|
|
|
|
/*for(int i = 0 ;i <100;i++)
|
|
|
|
|
{
|
|
|
|
|
News news = new News();
|
|
|
|
|