public class ABC {
DownloadKeyInfoRenJiao downloadKeyInfo;
Activity context;
ABC(Activity context) {
}
public static interface Listebner {
boolean before();
void after();
void success();
void fail();
}
public void initChecke() {
}
public void checker(Listebner listebner) {
initChecke();
if (!listebner.before()) {
listebner.success();
return;
}
if (ConfigureRenJiao.isneedPay) {
listebner.success();
return;
}
if (downloadKeyInfo == null) {
doNet();
return;
}
boolean isO = UtilsRenJiao.isOutTime(downloadKeyInfo);
listebner.success();
listebner.fail();
}
网友评论