You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何找到androidx.compose.foundation.samples.BasicTextFieldCustomInputTransformationSample示例?

如何找到BasicTextFieldCustomInputTransformationSample示例
  • 直接在Android Studio内定位:使用快捷键Ctrl + N(Windows/Linux)或Cmd + O(Mac)打开类搜索框,输入BasicTextFieldCustomInputTransformationSample,就能直接跳转到示例代码。这类Compose官方示例默认包含在androidx.compose.foundation依赖的源码中。
  • 查看本地依赖源码:找到项目依赖的androidx.compose.foundation:foundation库,展开其源码目录下的samples包,就能找到该示例文件。
  • 利用文档跳转:在代码中按住Ctrl(或Cmd)点击InputTransformation进入官方文档,文档里的示例链接可直接跳转至对应的示例代码。

内容的提问来源于stack exchange,提问作者Harvey

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.26 07:02:03