mathew-kurian/TextJustify-Android

hardware acceleration

mneckoee opened this issue · 1 comments

In a RecyclerView I use your library, some text are shown in Chinese(!) during scrolling, I find out if I turn off hardware acceleration it doesn't accur, s0:
"If your application performs custom drawing, test your application on actual hardware devices with hardware acceleration turned on to find any problems. The Unsupported drawing operations section describes known issues with hardware acceleration and how to work around them."

Are you doing this on an emulator or mobile device? It should be hardware accelerated on mobile devices (to some degree). With the caching and a small view port (for scrolling), this should be a fairly quick so as to not have too much perf. improvements with HW acceleration.