I'd like to ask about how to know when the user swipes to next page in PDFView in android.
pdfView = findViewById(R.id.pdfView);
pdfView.fromAsset("aday.pdf") .defaultPage(0) .enableSwipe(true) .load(); pdfView.setSwipeVertical(false);
when I use getPageCount(); it always returns 0. so what is the solution?
In order to be notified when user has reached some page - try to register a listener: