Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Pagination #155

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

Nikita-Boyarskikh
Copy link

What's done:

  • Add pagination support
  • Add long formatted paginated text example
  • Fix some common library bugs

Known bugs:

  • On switch orientation, text draw failed with IndexOutOfBoundsException
  • Pagination works correctly only if cacheConfig == CacheConfig.NO_CACHE

Mathew Kurian and others added 30 commits May 28, 2018 23:12
-remove change alignment on setReverse
-disable string reversing
I just got this exception from my app:

java.lang.NullPointerException
       at com.bluejamesbond.text.DocumentView$CacheBitmap.recycle(DocumentView.java:857)
       at com.bluejamesbond.text.DocumentView.destroyCache(DocumentView.java:672)
       at com.bluejamesbond.text.DocumentView.freeResources(DocumentView.java:662)
       at com.bluejamesbond.text.DocumentView.onDetachedFromWindow(DocumentView.java:509)
       at android.view.View.dispatchDetachedFromWindow(View.java:12787)
       at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2706)
Update project to lattest version, android studio 2.0, api 23
fix issue mathew-kurian#105.
The max lines check at line 104 isn't sufficient because multiple lines can be parsed in one go before the next check is conducted.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants