Skip to content

Commit

Permalink
Update to the README.md file (#123)
Browse files Browse the repository at this point in the history
Corrected some sentences in the README.md file to make it concise.
  • Loading branch information
simonskayi authored Apr 6, 2024
1 parent 927199c commit 4ae7b12
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ dependencies {
```

## How to use the library?
Now you have integrated the library in your project but **how do you use it**? Well its really easy just launch the intent with in following way: (Refer to [MainActivity.kt](https://github.com/afreakyelf/Pdf-Viewer/blob/master/app/src/main/java/com/rajat/sample/pdfviewer/MainActivity.kt) for more details.)
Now you have integrated the library in your project but **how do you use it**? Well it's really easy. Just launch the intent with in following way: (Refer to [MainActivity.kt](https://github.com/afreakyelf/Pdf-Viewer/blob/master/app/src/main/java/com/rajat/sample/pdfviewer/MainActivity.kt) for more details.)

### Prerequisites
Ensure the library is included in your project's dependencies.

### Launching PDF Viewer

#### Open PDF from a URL
#### Opening PDF from a URL
To display a PDF from a URL, use the following code:

```kotlin
Expand All @@ -95,7 +95,7 @@ PdfViewerActivity.launchPdfFromUrl(
)
```

#### Open PDF from Local Storage
#### Opening PDF from Local Storage
To open a PDF stored in local storage:

```kotlin
Expand All @@ -113,7 +113,7 @@ PdfViewerActivity.launchPdfFromPath(
)
```

#### Open PDF from Assets
#### Opening PDF from Assets
To open a PDF from the app's assets folder:

```kotlin
Expand Down Expand Up @@ -238,7 +238,7 @@ Any contributions you make are **greatly appreciated**.
5. Open a Pull Request

## Donations
If this project help you reduce time to develop, you can give me a cup of coffee :)
If this library helps you save time during development, you can buy me a cup of coffee :)

[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/paypalme/afreakyelf)

Expand Down

0 comments on commit 4ae7b12

Please sign in to comment.