kbiakov / CodeView-Android

Display code with syntax highlighting :sparkles: in native way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeView appears in 2s and then disappear, except 1st line

lilliCao opened this issue · comments

I have one Activity just to show the CodeView. It appears at the first time I start the Activity.
When I restart the activity, it appears like in 2s and then disappears. I have no error, no special warning, etc
see more
https://github.com/lilliCao/javoid
I followed your instruction and only used default value.

I have the same problem. How did you resolve this?

I actually did not know how the problem was solved. I have just test around some set up for the CodeView.
The version, that later on worked for my project is to find here
https://github.com/lilliCao/javoid/blob/master/Javoid/app/src/main/java/com/example/android/javoid/CodeSnippetActivity.java

you can use disableHighlightAnimation(). I thought the appearance of this bug was due to the inverse of default highlight animation.