Exemplo n.º 1
0
  @Override
  public void receiveResult(ATaskMark taskMark, ActionException exception, Object trackerResult) {
    // ִ�гɹ�
    LogUtil.d(TAG, "task : " + taskMark);
    if (taskMark instanceof LoginTaskMark) {
      overLogin = true;
    }

    // �Ƿ�Ҫ������ҳ
    checkCanEnterMainView();
  }
Exemplo n.º 2
0
    @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));
    }
Exemplo n.º 3
0
 // �Ƿ�Ҫ������ҳ
 private void checkCanEnterMainView() {
   LogUtil.d(TAG, "checkCanEnterMainView overLogin: " + overLogin);
   if (overLogin) {
     notifyPreviewOver();
   }
 }