I have a difficult situation, let me put it this way, I want the user to use my 3 text-fields to set data for alarm and after filling in the information, I give him an option to set another alarm for this purpose I use a button. I have three table rows in a table layout which are defined in a child.xml file and every element has an Id set. In my activity, I inflate child.xml multiple times on button click event and I am able to successfully inflate it as many times as I want. But my problem is since I am inflating the same xml file many times(I don’t know how many times) at runtime, I am confused as of how would I retrieve the data from particular text-fields like TextViews and identify them by a unique IDs since I am required to do so.
How do you go about it?
I have a difficult situation, let me put it this way, I want the
Share
i will start from basic
Now in activity
Now suppose you have inflate another view but view1 value is not changed then btn willl contain reference for that button.And when it became visible.It will work as like normal button.