@Background void getHttp(String scanResult) { String token = pre.token().get(); myRestClient.setHeader("Token", token); BaseModelJson<PaperFace> bmj = myRestClient.ScanLogin(scanResult); show_activity(bmj); }
@AfterInject void afterInject() { close_flag = "qrcode"; myRestClient.setRestErrorHandler(myErrorHandler); }