String[] date = { t1.getText().toString(), t2.getText().toString(), t3.getText().toString(), t4.getText().toString(), t5.getText().toString() }; List list = Arrays.asList(date); Collections.shuffle(list); t1.setText("" + list.get(0)); t2.setText("" + list.get(1)); t3.setText("" + list.get(2)); t4.setText("" + list.get(3)); t5.setText("" + list.get(4));
时间: 2025-01-31 21:04:58