コード例 #1
0
        @Override
        public void handleMessage(Message msg) {
          mLoader.setVisibility(View.GONE);

          if (msg.arg1 == MobileWebApi.SUCCESS) {
            FormResult result = (FormResult) msg.obj;
            mThankYouView.setVisibility(View.VISIBLE);
            mContentResult.setTitle(result.getFeedbackString());

          } else {
            mScrollView.setVisibility(View.VISIBLE);
          }
        }
コード例 #2
0
 private void showForm() {
   mScrollView.setVisibility(View.VISIBLE);
   mLoader.setVisibility(View.GONE);
   mLoader.stopLoading();
 }