You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use both forms for build & built view, but note: ```setCodeContent(String)``` is final step when you build your view, otherwise not. If you firstly highlight and then set code content, code will not be highlighted. Instructions above helps you to avoid errors. View has state to handle this behavior.
63
+
You can use both forms for build & built view, but note: ```setCodeContent(String)``` is final step when you build your view, otherwise not. If you firstly highlight and then set code content, code will not be highlighted if view was not built yet. Instructions above helps you to avoid errors. View has state to handle this behavior.
64
64
65
65
## Customizing
66
-
Use implicit or eplixit form to code highlighting:
66
+
Use implicit form to code highlighting:
67
67
```java
68
68
codeView.highlightCode();
69
69
```
70
+
or eplixit (see available extensions below):
70
71
```java
71
72
codeView.highlightCode("js"); // it will work fast!
72
73
```
@@ -96,9 +97,9 @@ See <a href="https://github.com/Softwee/codeview-android/blob/master/example/src
0 commit comments