记住!在使用API类库的方法时,一定要先判断是否为null!
if (news != null && news.length == 0) {}