Skip to content

Instantly share code, notes, and snippets.

@iotakodali
Created July 18, 2023 13:27
Show Gist options
  • Save iotakodali/a23f6c464f8546bf3f6a7c3256620aad to your computer and use it in GitHub Desktop.
Save iotakodali/a23f6c464f8546bf3f6a7c3256620aad to your computer and use it in GitHub Desktop.
Part of code of Andhra Pradesh Volunteer app collecting images
public void onClick(View view) {
if (TextUtils.isEmpty(this.f5955k.f7003L)) {
C3995c.m9925m(this.f5955k, "Please select atlease one family member ");
} else if (this.f5955k.f6997F.equalsIgnoreCase(BuildConfig.FLAVOR)) {
Toast.makeText(this.f5955k, "Please Capture Image", 0).show();
} else if (!this.f5955k.f7000I) {
Toast.makeText(this.f5955k, "Please Capture GPS", 0).show();
} else if (!this.f5954j.isChecked()) {
UnmappedActivity unmappedActivity = this.f5955k;
C3995c.m9925m(unmappedActivity, unmappedActivity.getResources().getString(R.string.volunteer_consent_msg));
} else if (C4002j.m9937l().mo9678u().equalsIgnoreCase("1")) {
UnmappedActivity.m6799n0(this.f5955k);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment