@Override public void receiveSuccess(NetReceiveDelegate delegate, String result) { NetUtil netUtil = (NetUtil) delegate; if (netUtil.getTag() == Net_Tag.Net_Tag_Novel_List) { parseData(result); } }
private void getData() { if (!isloading) { isloading = true; NetUtil netUtil = new NetUtil(); netUtil.setDelegate(this); netUtil.setTag(Net_Tag.Net_Tag_Novel_List); Map<String, String> params = new HashMap<String, String>(); params.put("p", String.valueOf(page)); netUtil.novelList(params); } }