I have a pretty simple question:
int i=0;
n = (TextView) findViewById(R.id. "value of i" );
How can I get this working? I want in the place of id to use my int value, is it possible? if so how do I go about doing this?
I'll put the code:
private void sxhmatismos7(String[][] pinakas)
{
TextView n;
int i=0;
for (i=0;i<12;i++)
{
n = (TextView) findViewById(R.id."HERE VALUE OF i");
if (n.getText().equals(pinakas[0][0]))
{
n.setVisibility(View.VISIBLE);
}
}
}