弹出窗口会自动打开

时间:2015-06-07 13:46:49

标签: android popup

我的应用有点问题。当我点击我的活动弹出窗口时,我只是想在我们选择其中一种语言后打开它 有人可以帮我解释它为什么会这样做以及如何改进它?

非常感谢!

otool -L com_ex1

1 个答案:

答案 0 :(得分:0)

单独编写setOnItemSelectedListener并在Post for spinner中设置它

uasort($myarray, "mySortFunction");

function mySortFunction($a, $b){
  return $a["pos"] - $b["pos"]; //or $b - $a, depending on desired order
}