I would like to be able to for loop in my layout and add text to the textviews dynamically, this does not error out but I get the lost row in the display for example
Tw04 One4
I would like to be able to display
One1 Two1
One2 Two2
etc...
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.rel_layout);
for (int i = 0; i < 5; i++) {
TextView woTxt = (TextView) findViewById(R.id.ticker_price);
woTxt.setText("One"+i);
TextView cusTxt = (TextView) findViewById(R.id.ticker_symbol);
cusTxt.setText("Two"+i);
}
}