Android: how to get the inputs from layout that was created programmatically? -


i have created row in table layout dynamically event of on click listener, i'm facing hard time getting data elements of row (1 edittext , 3 spinners).

2 solutions might here

1) saving references these views in activity class fields

2) specify id while creating views & use findviewbyid access


Comments

Popular posts from this blog

arrays - PHP Shopping Cart Variable and Object errors -

mysql - java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) -