📌  相关文章
📜  kotlin toast.makeText 非提供的参数 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:36.836000             🧑  作者: Mango

代码示例1
//In Activity use: 
Toast.makeText(this@YOUR_ACTIVITY_NAME, "your message", Toast.LENGTH_LONG).show()
    
//In Fragments use: 
Toast.makeText(requireActivity(), "your message", Toast.LENGTH_LONG).show()
 
Your problem will be solved...