I am desiging an Android application In which I am getting some values from previous activity like(FirstName,LastName,Age,DOB,Mobile Number,PastEmploment...).
And these value when receive these are displayed in the EditText for further updation.But this thing is valid if all of them has single value like(Single FirstName,Single Last_Name,Single Age...).
But suppose if Sometimes I might have 5 mobile numbers and sometimes 3 and sometimes 1 only.I want to display all these mobile number in EditText.Problem is How to dynamically create or Remove views from current Activity.
My Approach is if there is only 1 phone number in Bundle then only 1 editText will display Phone Number value.But if there is 3 phone number in Bundle then 3 editText should be add in front end view.
(I have not started writing code know.Soon I will share my code).
But I hope anyone having experience in Android can Understand what I am trying to ask.