Last active
March 21, 2025 06:36
-
-
Save mnirfan/c5fa29b23153cd959990dc7d0a5bcd37 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| import com.lynx.tasm.LynxEnv | |
| +import com.nurulirfan.lynx.accessibilityelements.PlainView | |
| class YourApplication : Application() { | |
| ... | |
| private fun initLynxEnv() { | |
| + LynxEnv.inst().addBehavior(object : Behavior("plain-view") { | |
| + override fun createUI(context: LynxContext): PlainView { | |
| + return PlainView(context) | |
| + } | |
| + }) | |
| LynxEnv.inst().init( | |
| this, | |
| null, | |
| null, | |
| null | |
| ) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment