FolioReader-Android icon indicating copy to clipboard operation
FolioReader-Android copied to clipboard

get total pages

Open blennerSilva opened this issue 8 years ago • 4 comments

Hey guys how do i get the whole book page count? i saw an similar issue but its old i would like to know if it was solved

blennerSilva avatar Dec 14 '17 20:12 blennerSilva

Hi @mahavir155 , this is a very old request, is it working in some way in the latest update?

Shruti7032 avatar Apr 30 '19 17:04 Shruti7032

No

On Tue, Apr 30, 2019, 11:01 PM Shruti7032 [email protected] wrote:

Hi @mahavir155 https://github.com/mahavir155 , this is a very old request, is it working in some way in the latest update?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FolioReader/FolioReader-Android/issues/151#issuecomment-488042873, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJX2OWVVBBRAWGT5TCFUCLPTB65PANCNFSM4EIKLN4Q .

mahavir155 avatar Apr 30 '19 17:04 mahavir155

i think if you're using folio reader u just can use spine.size and it returns total pages i have a problém to store this data and after reOpen the book it must to take you to the last page u was in m just having some problém with folio library wich is written on kotlin ( im java user :'( )

TidelxD avatar Apr 21 '21 00:04 TidelxD

i think if you're using folio reader u just can use spine.size and it returns total pages i have a problém to store this data and after reOpen the book it must to take you to the last page u was in m just having some problém with folio library wich is written on kotlin ( im java user :'( )

This would not work as the rendering of pages is done over an internal web server stream. Also, the web page has its own adapter under the Folio adapter which is controlled by javascript. So, without major refactoring it's not possible to get page numbers.

priyashpatil avatar Mar 17 '22 05:03 priyashpatil