Store the PDF file into firebase Storage and fetch it and Display PDF using pdfviewer
- Setup Firebase accounta and add your project.(Must Add google-services.json file )
- in Firebase Click on "Storage" from left Menu
- than add your PDF files
- click on uploaded file than you will get link of that pdf file just copy and paste into your recyclerview
- after that in your android project create recycleview or use listview to view data
- use PDFviewer library and AsyncTask to Load and Display Data
- Firebase Setup: (https://firebase.google.com/docs/android/setup)(url)
- Firebase dependency : (https://firebase.google.com/support/release-notes/android)(url)
- Firebase Core: 'com.google.firebase:firebase-core:17.0.1'
- Analytics: com.google.firebase:firebase-analytics:17.0.1
- Cloud Messaging: com.google.firebase:firebase-messaging:19.0.1
- Cloud Storage: com.google.firebase:firebase-storage:18.1.1
- In-App Messaging: com.google.firebase:firebase-inappmessaging:18.0.2
- In-App Messaging Display: com.google.firebase:firebase-inappmessaging-display:18.0.2