I am beginner level in android. how to create multidimensional array in android at runtime.
i want to create multidimensional array of EditText box dynamically (at runtime) and all should be disables except the first one.
if any one knows about this please answer. examples will be appreciated.
this working ok..
TextView textView[][] = new TextView[2][2];
after this when i tried to assign data it throws nullpointor exception..
for (int i = 0; i < 2; i++) {
for (int j = 0; j < 2; j++) {
editText[i][j].setText("data");
}
}