implementation 'com.itextpdf:itextpdf:5.5.13'
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
- The directory is by default set to DOWNLOADS folder of internal storage. Change as per your desired directory.
- Report design is customizable. To change the design go through the comments declared in codes and customize as per your need.