Skip to content

Instantly share code, notes, and snippets.

@mozerian
Created July 17, 2020 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mozerian/f36423c38b145dbdd035cf7b9824fcb3 to your computer and use it in GitHub Desktop.
Save mozerian/f36423c38b145dbdd035cf7b9824fcb3 to your computer and use it in GitHub Desktop.
paymentUsersList = new ArrayList<>();
//create files in reports care folder
payfile = new File("/storage/emulated/0/Report/");
//check if they exist, if not create them(directory)
if ( !payfile.exists()) {
payfile.mkdirs();
}
pFile = new File(payfile, "PaymentUsers.pdf");
fetchPaymentUsers();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment