@Override
public void onItemSelected(AdapterView<?> parent, View view,
int position, long id) {
Toast.makeText(TryActivity.this, "您选择的是:"+parent.getItemAtPosition(position), Toast.LENGTH_SHORT).show();
}//不加加粗的类名会报错
时间: 2024-10-10 05:19:59