0

Im trying out GeckoView on Android studio, using Kotlin Everything works fine, except trying to click on select dropdown menus. I believe I have to implement the GeckoSession1.PromptDelegate, but I struggle to find some working kotlin code to use

Anyone?

2 Answers2

0

You have a full basic implementation of PromptDelegate in the GeckoView sample application.

https://searchfox.org/mozilla-central/source/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/BasicGeckoViewPrompt.java

Wildcopper
  • 373
  • 1
  • 3
  • 11
0

There is a related question, though not Kotlin specific. Taking a look at mozilla-mobile code at Android Components > Feature > Prompts, such as ChoicePromptDelegate.kt may send you in the right direction.

Nagev
  • 10,835
  • 4
  • 58
  • 69