public void onClick(View v) {
    switch (v.getId()) {
      case R.id.fp_login_btn:
        String apiURL = apiImplementation.forgotPasswordURL(fp_email.getText().toString());
        Log.i("apiURL Url Are", apiURL);
        new ForgotPassword().execute(apiURL);

        break;
      case R.id.forgetpass_textview:
        break;
    }
  }
  @Override
  public void onClick(View v) {
    switch (v.getId()) {
      case R.id.login_btn:
        if (isRequired() && isPasswodOK() && isTermsCheck()) {
          String url =
              apiImplementation.GenetareFullURLforRegistration(
                  su_firstname.getText().toString().trim(),
                  su_lastname.getText().toString().trim(),
                  su_email.getText().toString().trim(),
                  su_password.getText().toString().trim(),
                  su_phone.getText().toString().trim(),
                  su_postcode.getText().toString().trim(),
                  su_address.getText().toString().trim(),
                  su_city.getText().toString().trim(),
                  su_country.getText().toString().trim(),
                  "Android",
                  su_sex.getText().toString().trim(),
                  su_birthday.getText().toString().trim(),
                  vanumeID.replaceFirst(",", ""));
          Log.i("URL Are ", url);
          new RegistrationAsync().execute(url);
        } else {

        }

        break;

      case R.id.su_sex:
        showSimpleListDialog(v);
        break;
      case R.id.su_birthday:
        showDatePicker();
        break;
      case R.id.su_courses:
        Intent intent = new Intent(RegistgrationActivity.this, VunueListActivity.class);
        startActivity(intent);

        break;

      case R.id.su_login:
        Intent intent1 = new Intent(RegistgrationActivity.this, LoginActivity.class);
        startActivity(intent1);
        break;
    }
  }