-1
我想收集String []數字項。一個例子:這是我的代碼:Android - Collect String Array items
public class test extends Activity {
String[] numbers = {
"4",
"7",
"24",
"77",
"98"
};
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
String str = "collect String[] numbers items";
TextView textView = (TextView)findViewById(R.id.textView);
textView.setText(str);
}
}
嘿@android_Muncher是我黑曼巴蛇 – BlackMamba2
歡迎的StackOverflow!請編輯您的問題並澄清您的問題。你想做什麼?什麼不工作? – ventiseis
你想將字符串數組設置爲textview texto? @ BlackMamba2 –