-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App starts freezing when implementing a RotatingText TextView #3
Comments
Text size is not necessary, it takes the default value of nothing is explicitly set. |
@harjot-oberai Another thing, could it be because I'm using it in a RecyclerView? But there's only 1 item in the RecyclerView using the RotatingText TextView |
@harjot-oberai rotatingText.setContent("?", rotatable); Is it wrong? |
@harjot-oberai |
I think the app is running out of memory. Mostly because of recycler view. Is your code on github ? |
@harjot-oberai And the code is not on GitHub, and I cannot share it. |
I am saying that the app is running out of memory because of the RotatingText. There are some performance issues in the library that need to be addressed. |
This widget has occupied 20% of the CPU and always freeze when it resumed.What's the cause? |
yeah my app also freezes on resume... mostly when returning after a while..... |
I tracked the problem to |
For every one second a new timer thread is being created. which is making more CPU usage every second. Can you solve the problem. Typeface custom_font = Typeface.createFromAsset(getAssets(), "fonts/Reckoner_Bold.ttf"); |
Could this be because I didn't set a size for the text? Is it really needed?
Tested on a Moto G5 plus.
The text was updated successfully, but these errors were encountered: