I need a Paginator class which can help to process the content i gave and tells me some information for the pagination.
Class constructor will take following input:
1. TextView tv - page container
2. String content - content (including new line and line feed)
3. int pageWidth - expected page width
4. int pageHeight - expected page height
This class should provide these functions in return:
1. loadPageData(JSONObject pageData) - load pre-generated paging information
2. startAutoPagination() - this is called to auto generate pageData if it is not loaded manually
3. getPageData() - return generated paging data (in JSONObject format)
4. getPageCount() - return number of pages needed to fit the content
5. getPage(int pageNumber) - return the content of the requested page
Additional:
1. Word wrap is expected
Please PM me if you have any doubt to what needs to be done.
Hi, we are experienced software engineers with 4+ year experience in Android. We are very motivated to do this project and to make you satisfied with the final outcome. We can start your project right now!
$30 SGD in 7 days
5.0 (3 reviews)
1.9
1.9
4 freelancers are bidding on average $127 SGD for this job
Our skillful team of designers and intelligent programmers have more than 6 years of experience in this field.
We deliver 110% satisfactory quality service.---- Lets discuss on this project.
Please check PMB.