在Android中,Activity类中的showDialog(int)方法已被弃用?

9

类型Activity中的方法showDialog(int)已被弃用

enter image description here

原因是什么?如何解决?


http://developer.android.com/reference/android/app/Activity.html#showDialog(int) - Dheeresh Singh
你可以使用 null 参数调用 showDialog。 - rajpara
1个回答

10

日期选择器示例:https://dev59.com/o2ct5IYBdhLWcg3wsPZ5#16429329 - Hpsaturn

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接