Skip to content

Android library to download and render pdf file

yusufaw/SkyPdfDownloader

Repository files navigation

AndroidPdfDownloader

This project aims to help download pdf and then render it. The rendering pdf is using codes from googlesamples/android-PdfRendererBasic

Usage

For a working implementation, please have a look at the Sample Project - app

  1. Include the library as local library project.

    allprojects {
       repositories {
          jcenter()
          maven { url "https://jitpack.io" }
       }
    }
    

    implementation 'com.github.yusufaw:AndroidPdfDownloader:latest-release'

  2. Add SkyPdfDownloader into your AndroidManifest.xml

    <activity
            android:name="com.skyshi.skypdf.SkyPdfDownloader"
            android:screenOrientation="portrait"
            android:theme="@style/AppTheme" />
    
  3. The AndroidPdfDownloader configuration is created using the builder pattern.

    SkyPdfDownloader.of(stringUrl, fileName)
                .withDescription("This is a awesome description")
                .start(context)

Apps using AndroidPdfDownloader

About

Android library to download and render pdf file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published