Skip to content Skip to sidebar Skip to footer

Android : Give Id Into Widget Such As Textview, Edittext, Spinner In Dynamic Row/view And Store It Into Sqlite

i have one dynamic view with edittext and textview, when user click on add button, it will add one row, when user click remove button, it will remove one row. every user add one ro

Solution 1:

After inflating new views for addition, just use setId method to assign them a unique ID, this same ID you can use later on to fetch the data it hold and then easily put them into sqlite.


Post a Comment for "Android : Give Id Into Widget Such As Textview, Edittext, Spinner In Dynamic Row/view And Store It Into Sqlite"