@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);
          }
        }
 private void showForm() {
   mScrollView.setVisibility(View.VISIBLE);
   mLoader.setVisibility(View.GONE);
   mLoader.stopLoading();
 }