@Override public void receiveResult(ATaskMark taskMark, ActionException exception, Object trackerResult) { // ִ�гɹ� LogUtil.d(TAG, "task : " + taskMark); if (taskMark instanceof LoginTaskMark) { overLogin = true; } // �Ƿ�Ҫ������ҳ checkCanEnterMainView(); }
@Override protected void onPostExecute(Object result) { if (!marketContext.isBaseDataOk()) { notifyStartError(); } else if (!NetworkinfoParser.isNetConnect(marketContext)) { notifyPreviewOver(); } else { // �Ƿ�Ҫ������ҳ checkCanEnterMainView(); } LogUtil.d( TAG, "onPostExecute isBaseDataOk:" + marketContext.isBaseDataOk() + " netConnect: " + NetworkinfoParser.isNetConnect(marketContext)); }
// �Ƿ�Ҫ������ҳ private void checkCanEnterMainView() { LogUtil.d(TAG, "checkCanEnterMainView overLogin: " + overLogin); if (overLogin) { notifyPreviewOver(); } }