Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Restore text search selection on config change (Android)

23 views
Skip to first unread message

xd3st...@googlemail.com

unread,
Sep 29, 2014, 9:51:30 AM9/29/14
to pdfne...@googlegroups.com
Hi,

is it somehow possible to restore the text search after orientation change? When i make a text search with PDFViewCtrl.findText(...) and then call the method 2 times, then i get the 3rd occurrence of this word in my pdf doc. I'd like to restore this search after the tablet is rotated and then used in landscape mode. When i then call findText(...) again, i will get the 1st occurrence of this word and not the 3rd one. I'm asking this, because i'm not handling orientation changes on my own. I use the default Android implementation which causes to destroy and start the activity again.
Reply all
Reply to author
Forward
0 new messages