@@basedatabeaabeanchapterbean resu
gson gson = new gson();
&ype = okeabeanchapterbeaype();
try {
& = gson.fromjson(json, type);
// 记录最后章节id
arraylistchapterbean data = result.getdata().getdata();
sputil.putstring(book_id2 + &_lastchapterid&, data.get(data.size()1).getid());
sputil.putint(&t_& + book_id2, data.size());
} e) {
// 数据解析失败
toastaloext, &数据解析失败&);
&acktrace();
&urn;
}
if ( || data()
|| !&1&.equals(result.getresult())) {
toastaloext, result.geterr());
} else {
// 保存章节总数
sputil.putint(&t_& + betdata().getdata().size());
bookfileutils.savebookdire, book_id2);
}
haymessage(2);basedatabeaabeanchapterbean resu
gson gson = new gson();
&ype = okeabeanchapterbeaype();
try {
& = gson.fromjson(json, type);
// 记录最后章节id
arraylistchapterbean data = result.getdata().getdata();
sputil.putstring(book_id2 + &_lastchapterid&, data.get(data.size()1).getid());
sputil.putint(&t_& + book_id2, data.size());
} e) {
// 数据解析失败
toastaloext, &数据解析失败&);
&acktrace();
&urn;
}
if ( || data()
|| !&1&.equals(result.getresult())) {
toastaloext, result.geterr());
} else {
// 保存章节总数
sputil.putint(&t_& + betdata().getdata().size());
bookfileutils.savebookdire, book_id2);
}
haymessage(2);basedatabeaabeanchapterbean resu
gson gson = new gson();
&ype = okeabeanchapterbeaype();
try {
& = gson.fromjson(json, type);
// 记录最后章节id
arraylistchapterbean data = result.getdata().getdata();
sputil.putstring(book_id2 + &_lastchapterid&, data.get(data.size()1).getid());
sputil.putint(&t_& + book_id2, data.size());
} e) {
// 数据解析失败
toastaloext, &数据解析失败&);
&acktrace();
&urn;
}
if ( || data()
|| !&1&.equals(result.getresult())) {
toastaloext, result.geterr());
} else {
// 保存章节总数
sputil.putint(&t_& + betdata().getdata().size());
bookfileutils.savebookdire, book_id2);
}
haymessage(2);basedatabeaabeanchapterbean resu
gson gson = new gson();
&ype = okeabeanchapterbeaype();
try {
& = gson.fromjson(json, type);
// 记录最后章节id
arraylistchapterbean data = result.getdata().getdata();
sputil.putstring(book_id2 + &_lastchapterid&, data.get(data.size()1).getid());
sputil.putint(&t_& + book_id2, data.size());
} e) {
// 数据解析失败
toastaloext, &数据解析失败&);
&acktrace();
&urn;
}
if ( || data()
|| !&1&.equals(result.getresult())) {
toastaloext, result.geterr());
} else {
// 保存章节总数
sputil.putint(&t_& + betdata().getdata().size());
bookfileutils.savebookdire, book_id2);
}
haymessage(2);/b