跳转到浏览器
2018-01-03 本文已影响0人
狼狗猫
val action = Intent.ACTION_VIEW
//list!![pos].url 网址
val data = Uri.parse(list!![pos].url)
val intent = Intent(action,data )
startActivity(intent)
val action = Intent.ACTION_VIEW
//list!![pos].url 网址
val data = Uri.parse(list!![pos].url)
val intent = Intent(action,data )
startActivity(intent)