- "Test.pdf" is 4 page pdf files.
- I want to find a "AAA" word.
- "AAA" words are on 1,2,4 pages.
- so I go to 4 page, and I had tried to find "AAA".
- But search highlight is applied 2 page's "AAA".
This situations are occured not only "Test.pdf" file but also other files.
So I found a below codes from searching.
But it did not fix my issue.
- Go to last page. (page 4)
- PDFFind(1)
- highlight (page 2)
I think this situations are occured when found a word on last page.
Is it only my problem?
Could you check it?
OnPageClicked(pageNumber);
new Handler().postDelayed(new Runnable() {
public void run() {
mReader.PDFFindStart(searchText, false, false);
for (int i = 0; i < duplicateNumber; i++) {
mReader.PDFFind(1);
}
}
}, 1000);