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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -