我想显示在 TextView 中引入的文本的历史。它应该类似于 google play 上的搜索栏:

目前我正在使用带有 android:completionThreshold="1" 的 AutoCompleteTextView,但我希望在建议开始之前不需要写任何文本。
有任何想法吗??
我有一个 C++ 库,需要从 android 和 iOS 中使用,所以我的想法是创建一个多平台模块,该模块将包装该库以从两个实现中使用它。
另一方面,我看到了 kotlin 本机使用 C 代码的示例: https://theprogrammershangout.com/resources/kotlin/native/creating-c-bindings.md/
这也是 kotlin 文档中的一个: https://kotlinlang.org/docs/native-c-interop.html
是否可以实现 jvm 和 iOS 的互操作性?
android ×1
autocomplete ×1
history ×1
kotlin ×1
kotlin-multiplatform-mobile ×1
search ×1
textview ×1