2

I am willing to add search functionality to my pdf reader.I dont know how do i achieve this functionality.Any help would be appreciated. Note:I am using third party library to read the pdf file. Here is the library link: https://github.com/barteksc/AndroidPdfViewer

Is it possible to implement search functionality using this library?If not then what should be the other approach(like any java library or java code for achieving this).

Tarik
  • 10,810
  • 2
  • 26
  • 40
Knowledge hub
  • 51
  • 1
  • 8

1 Answers1

1

After doing some investigation about the library you provided, I found out that there have been multiple users requesting the search functionality inside of the library.

I am not familiar with the library in any way, however, if there was a way to get the text of the pdf, you can search using an EditText with a addTextChangedListener, which will iterate through the entire text of the pdf searching for the text entered.

Sanjid Chowdhury
  • 1,010
  • 1
  • 5
  • 9