Introduction

A simple library to create and view PDF with zero dependency Or native code.

A simple library to create and view PDF with zero dependency Or native code.

PDFCreatorAndroid has zero dependency, so you do not need to include any other dependency License.

Concept:

  • Android has capability to print documents to PDF, this library simplifies those API's to generate PDF easily.

  • At basic level, API renders Views to PDF. To create A PDF with pages we need to submit views exactly height of one page, any view larges then that that will be trimmed.

  • This library creates pages by adding views to a parent view until the next view is about to exceed current page. If next view exceeds current page, that view will be added to new page.

Last updated