android - Add views dynamically and get value from those views -


i need regarding adding new set of views , value views.

in example, want add 4 textviews on button click , open timepicker each view click , display new selected time on respective textview.

below screenshot of view.

enter image description here

if these 4 views fixed create xml , add them single holder set invisible. if mean dynamic either 4 or 99 views, i'd recommend recyclerview. plenty of examples on internet. if create recyclerview custom adapter easy respective data per view.

for future, please add more context question you've tried, result , why isn't expected result. broad question.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -