Open iNicod opened 6 years ago
in theory if you add some width code to the source you could do this, i was thinking of doing mini pages across the bottom with a click to take you to the page.
Could you explain me a little bit more how could I make this ?
Its not too hard, its not finished but you get the ideal..
Single click changes the main page..
Sorry i never explained how to create the mini maps as it was late,
Basically create two pdfview methods but one of them you resize in height and then set the zoom otherwise you will get one page filling the width.
From their you add the click listener and set the page number selected onto the larger image.
As you can see for speed i have the Fab button which will hide or display the minimap, just got to create the animations for slide in and out.
Its not a lot of work as i said but on this image does look quite impressive, i dont use the activity background color as a border so it doesnt clip in anyway it works very fluid to the end user.
If you get something working post a pic it would be nice to get some more ideals of how to improve upon this.
Is it possible to configure the library to an horizontal scroll like a view pager (2 pages per 2 pages or 1 by one) ?
I've made it with a viewpager loading in pdfview everytime but I don't think it would be a good practice.