小编Pro*_*sts的帖子

Formatter.formatIpAddress(int)的替代方案;

我在我的应用程序中使用了这段代码,但警告说: "不推荐使用Formatter类型的formatIpAddress(int)方法"

android.text.format.Formatter.formatIpAddress(mWifiManager.getConnectionInfo().getIpAddress());
Run Code Online (Sandbox Code Playgroud)

什么是快速解决方案?

android

16
推荐指数
3
解决办法
1万
查看次数

C#相当于Java Class.this

问题:什么可以是JavaC#等价物? Class.this

原因:假设我在JavaC#中都有相同的Form1类.在Java中我们可以编写,如何用C#编写.Form1.this

c# java this

3
推荐指数
1
解决办法
1478
查看次数

标签 统计

android ×1

c# ×1

java ×1

this ×1