very cool!
Though you may find Kotlin WebView does not play nice with Perchance AI. I tried to put a Perchance AI art gen in a kotlin webview long ago and it was detected as like ‘adblocked’ if i remember right.
nice experience you are gaining! Kotlin is very powerful. And cool idea with the improving organization. I probably wont look in to the Search since it’s a bit out of my way, but kno that with Kotlin you can solve anything. Even if you have 30+ bugs, those are 30+ opportunities to learn what you did wrong and not do them again. also I highly suggest making a simplified Toast function you can place anywhere easy peasy for when solving issues (equivalent of console.log to tell yourself what variables are at each step so you can pinpoint when a value isnt getting from point A to point B).
Also, you can place your Context on a Companion Object and reference it as a global from anywhere. (may be useful in making a toast that works conveniently in weird places where you can’t otherwise reference the Context).